cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shivashankarm
Level 2

WINSYSDIR & LaunchAppAndWait Calls NOT Working upon Migration from InstallShield 10.5

Hi,

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?

Thanks,
Shivashankar
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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.
0 Kudos