Page 1 of 1

Test script without installing?

Posted: Fri Mar 03, 2006 12:05 pm
by Edhy
Hi All,

In Wise InstallMaster there is a Test script button which will run your installation without actually installing or modifying anything.

Is there a similar feature in IA?

Thanks!

Posted: Fri Mar 03, 2006 12:49 pm
by MichaelNesmith
Hi Edhy,

No - this feature is not available in InstallAware. Running an InstallAware setup up to and including the Apply Install command will install the application. You can break right before Apply Install if you wish to test the flow of your script.

Posted: Fri Mar 03, 2006 1:22 pm
by Edhy
Hi Michael,

Do you mean setting a debug breakpoint before the Apply Install comand and then cancel the installation?

Are you considering adding this feature to IA? This wold be very helpful for new users to test the script flow.

Thanks!

Posted: Fri Mar 03, 2006 2:54 pm
by MichaelNesmith
Hi Edhy

You really don't need a feature for this - just comment out Apply Install before beginning the debug cycle!

Also, because InstallAware lets you customize the uninstall step as well, it might be best to let Apply Install run, so you can test your uninstall too!

Posted: Fri Mar 03, 2006 3:03 pm
by Edhy
Hi Michael,

Also, because InstallAware lets you customize the uninstall step as well, it might be best to let Apply Install run, so you can test your uninstall too!

You are right on that, but since I am a developer I don't test my installers on my computer to avoid messing my primary wepon :lol: But I liked the way Wise handle this situation where you can simply test the script logic right away before moving the installer to the testing computer. I wonder how other coming from Wise never ask for this feature.
Anyway, I will do as suggested to see if it works!

Thanks again.

Posted: Fri Mar 03, 2006 4:51 pm
by MichaelNesmith
Hi Edhy,

Yeah, it was asked for before! But since we're MSI based, there isn't much we can do, other than advise you to comment out Apply Install :)