Forum Discussion

cobrew2003's avatar
cobrew2003
Level 2
12 years ago

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

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%2Fsymaccount-profile.symantec.com%2FSSO%2Findex.jsp%3FssoID%3D1358498655993J82B31L3ze7gLodgiqqyQuM1JVli42qvidLb6)

"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!!!

  • 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!!!

1 Reply

  • 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!!!