REMOVE="ALL"
Hi,
If anyone can help me I would greately appreciate it. Here is my issue.
I am using wise package studio 5.5 and using a VB Script Embedded code to rename a folder after installation Eg ( C:\test\1 to C:\test\2). The code is placed in installer editor--Execute Immediate and beneath the word RemoveExistingProducts wich works fine.
The issue I am having is that during uninstall i need to rename the folder back to its original name Eg (C:\test\1) so that it can be uninstall.
I Know that i have to use the REMOVE="ALL" Properties. I am not sure where exactly to place it. And shoud it be in the Execute Immediate portion of installation sequence or the Execute Deferred portion of the installation sequence?
Any help or suggestions will greately appreciated
If anyone can help me I would greately appreciate it. Here is my issue.
I am using wise package studio 5.5 and using a VB Script Embedded code to rename a folder after installation Eg ( C:\test\1 to C:\test\2). The code is placed in installer editor--Execute Immediate and beneath the word RemoveExistingProducts wich works fine.
The issue I am having is that during uninstall i need to rename the folder back to its original name Eg (C:\test\1) so that it can be uninstall.
I Know that i have to use the REMOVE="ALL" Properties. I am not sure where exactly to place it. And shoud it be in the Execute Immediate portion of installation sequence or the Execute Deferred portion of the installation sequence?
Any help or suggestions will greately appreciated
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
VikingLoki
19 years ago
Posted by:
UcMerrill
19 years ago
Posted by:
VikingLoki
19 years ago
Build the lines using the Actions list on the left. It should look something like this, if your copying custom actions are named "RenameOnInstall" and "RenameOnUninstall"
If NOT REMOVE then
| Call VBScript From Installation (RenameOnInstall)
End
IF REMOVE then
| Call VBScript From Installation (RenameOnUninstall)
End
If NOT REMOVE then
| Call VBScript From Installation (RenameOnInstall)
End
IF REMOVE then
| Call VBScript From Installation (RenameOnUninstall)
End
Posted by:
kapil.kathuria
19 years ago
Posted by:
VikingLoki
19 years ago
Posted by:
UcMerrill
19 years ago
Posted by:
UcMerrill
19 years ago
I did have a problem uninstalling the folder after I install it. I made the adjustment and here is the info for everyone to see.
Go to Windows installer Editor MSI Script tab below Execute Immediate tab below and add your embedded code beneath the wordRemoveExistingProducts . The code should look like this:
If NOT REMOVE=â€ÂALL†then
call VBscript from embedded code(to rename folder after installation)
End
Go to Windows installer Editor MSI Script tab below Execute Immediate tab below and add your embedded code beneath the wordLaunchConditions . The code should look like this:
If REMOVE=â€ÂALL†then
Call VBscript from embedded code( rename folder during uninstall)
End
Enjoy
Go to Windows installer Editor MSI Script tab below Execute Immediate tab below and add your embedded code beneath the word
call VBscript from embedded code
Go to Windows installer Editor MSI Script tab below Execute Immediate tab below and add your embedded code beneath the word
Call VBscript from embedded code
Enjoy
Posted by:
MSIMaker
19 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.