PDA

View Full Version : Uninstall Action


gspillane
10-12-2004, 10:50 PM
Hi All,

What is the equivalent to the old "Uninstall Action: Run and Wait"

Best Regards,

Geoff Spillane
Data Down Under

linder
10-13-2004, 06:12 AM
Hi Geoff,

The uninstaller is *completely* scriptable now. You can use all functions (except "Install file") from within the uninstaller. I will provide a demo tomorrow.

Thanks,

gspillane
10-13-2004, 06:44 AM
Hi Friedrich,

Oh ok then, I think I should be able to nut this out as everything is pretty intuitive, otherwise I'll sneek a look at your demo when it's available.

Best Regards,

Geoff Spillane
Data Down Under

linder
10-13-2004, 07:01 AM
Hi Geoff,

There is already an "Uninstall Script Demo 1.sb5" example available in build #908. But we have changed a few things in our latest internal sources (makes it easier to use now).

Thanks,

gspillane
10-13-2004, 06:40 PM
Hi Freidrich,

Thanks, I missed that one. :o

Best Regards,

Geoff Spillane
Data Down Under

gspillane
10-14-2004, 06:15 AM
Hi Friedrich,

I've created and included a modified unistall script with the key lines being:

!Uninstall Process
Run Program %_SB_INSTALLDIR%\remall.exe /Y (Always Install) [Wait]
Process Uninstall Queue %_SB_INSTALLDIR%\uninst.log

The first line was created with the Run Program Dialogue using the following details:
File Name: remall.exe
Target Folder: %_SB_INSTALLDIR%
Command Line: /Y
Default Directory: %_SB_INSTALLDIR%
Wait For Program: Checked

For whatever reason the program doesn't run. I know the script is being called because I placed a message in it and the message showed. I can also run the program from the command line with something like this:
"C:\Program Files\RunMenuTrial\remall.exe" /Y
Does it appear to you that I've filled the dialogue box in incorrectly?

Best Regards,

Geoff Spillane
Data down Under

linder
10-14-2004, 06:33 AM
Hi Geoff,

I'll upload a new internal build later today (I'll send you a notification). We have fixed some problems in the uninstall scripting stuff.

Thanks,