Sometimes we have arguments that we need to be appended at install time when first launching the installed app.
We have a custom action that takes the installer name, pulls some characters from it, and adds those characters to a property.
So, in the ExitDialog Launch Application fields we have the following:
Application: [APPDIR][MYEXEPATH]
Arguments: [LAUNCHARGS]
We can successfully set the LAUNCHARGS property with the string that we need. As an example, it would be /StartSession 1234.
However, it seems that either the installer doesn't see the updated property, or I'm doing something wrong.
In the msi log, we see evidence that things are working:
Code: Select all
MSI (s) (F0!94) [20:12:09:796]: PROPERTY CHANGE: Modifying LAUNCHARGS property. Its current value is ' '. Its new value: '/StartSession 7309'.
Property(S): LAUNCHARGS = /StartSession 7309
Code: Select all
Property(C): LAUNCHARGS =
FOLLOW US
Get the latest news in Application Packaging