View Full Version : WINSYSDIR & LaunchAppAndWait Calls NOT Working upon Migration from InstallShield 10.5

03-13-2008, 04:47 AM

We are currently using InstallShield 10.5 for our Packages. Our Project Type is Basic MSI.
We Migrated Our Projects as per the Guidelines.

But, Basic InstallShield APIs like LaunchAppAndWait is NOT Working with the migrated project. Also, WINSYSDIR Property is displaying NULL Value.

I built a New Package in InstallShield 2008 and this package is executing both LaunchAppAndWait and WINSYSDIR Perfectly Well.

Can you suggest what can be done to resolve this issue?


03-13-2008, 10:52 AM
I think you're getting this behavior due to the changes in the engine for between IS11.5 and IS12 related to deferred custom actions - in particular variables like WINSYSDIR are no longer safe to use in deferred custom actions. You might be able to confirm this by adding a message box to show the path you are about to launch. This would have worked in a sample if you put the code in an event or in a non-deferred custom action instead. Please see the migration articles referenced in the sticky notes in this and the IS12 community.