This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Passing variables to custom actions
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2012
10:35 AM
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.
[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.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2012
11:58 AM
You can accomplish it by creating another custom action under the Before File Transfer, and the the following is a sample VB Script code that sets the arguments:
Note that ReadArgumentsCA is the name of your custom action that read the arguments through the CustomActionData property.
Hope that helps.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 12, 2012
03:29 AM
Is it possible to define custom dialogs using Installshield LE version?.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 12, 2012
08:32 AM
The Premier and Professional editions of InstallShield include a dialog editor that let you add custom dialogs, but the Express and Express Limited editions do not.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 12, 2012
09:06 AM
Ok thanks.
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 12, 2012
11:45 AM
InstallShield 2010 Expansion Pack for Visual Studio 2010 is required to integrate with the final released version of Visual Studio 2010. InstallShield 2010 does not offer support for Visual Studio 2012.
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.
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.