cancel
Showing results for 
Search instead for 
Did you mean: 

When I Remove program(msi) Wisescript run again!!

cobrew2003
Level 2

Hello!

I have a Wisescript(WSE=EXE) that modify and backup a file, and create a folder(is simple), and is called from WindowsInstaller(WSI=MSI), that I saw in other post:(http://www.symantec.com/business/support/index?page=content&id=HOWTO1396&profileURL=https%3A%2F%2Fsy...)

"5. Place your cursor between the InstallInitialize and InstallFinalize script actions for the custom action to be launched between these two actions during the installation.
6. Double-click the Run WiseScript from Installation script action from the Actions pane. The Run WiseScript from Installation dialog box appears."

 

Ok, my problem is that when I click in Remove program from Windows Control Panel, the WiseScript run again, namely, modify and backup a file and create a folder again!! I don't understand!

What i do wrong? or what i am missing?

 

Thanks very much!!!

1 ACCEPTED SOLUTION

Accepted Solutions

cobrew2003
Level 2

OK!!! I solved already the problem!! :D

In Windows installer editor, "Execute Immediate tab", I've written below "InstallInitialize" :

If NOT Installed then

Run WiseScript From Installacion "xxx"

End

And below RemoveExistingProducts

If REMOVE~="ALL" then

Execute Program From Destination unwise32.exe etc etc etc(before I copy unwise32.exe to the computer )

End

 

Regards!!!

View solution in original post

1 REPLY 1

cobrew2003
Level 2

OK!!! I solved already the problem!! :D

In Windows installer editor, "Execute Immediate tab", I've written below "InstallInitialize" :

If NOT Installed then

Run WiseScript From Installacion "xxx"

End

And below RemoveExistingProducts

If REMOVE~="ALL" then

Execute Program From Destination unwise32.exe etc etc etc(before I copy unwise32.exe to the computer )

End

 

Regards!!!