
david.huelves1.5524913004886802E12 asked a question.
Passing variables to custom actions
I had an msi installer where I launch a custom vbs script. This Script read some arguments passed from msi:
[SourceDir];[TARGETDIR];[AppDataFolder]Logisplan;[PersonalFolder];[ProgramFilesFolder][Manufacturer];[ProgramMenuFolder]
How could I achieve this using InstallShield?
I have included the call to my vbs script at (Custom Actions). But I can't find how to pass it these arguments.
Thanks in advance.
Session.Property("ReadArgumentsCA") = Session.Property("SourceDir") + ";" + Session.Property("TARGETDIR") + ";" Session.Property("AppDataFolder") + "Logisplan;" + Session.Property("PersonalFolder") + .......
Note that ReadArgumentsCA is the name of your custom action that read the arguments through the CustomActionData property.
Hope that helps.
Do you know if it's possible to integrate Installshield 2010 pro with VS2010 or even 2012?
And where should I search how to do it? (i've been googling.... but anything found yet).
thanks in advance.
When the InstallShield product is installed on a development machine where Visual Studio is already installed, during install of the InstallShield product, the integration to Visual Studio will automatically be established. If this integration becomes broken, see Q209060: HOWTO: Repair InstallShield Integration with Visual Studio .