- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Is there a way to pass numerous properties to an .exe in a single property used as the .exe paramete...
- 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
Hi all,
This might be sort of a weird one. We have a ton of configuration settings stored in a property that we want to pass to an .exe. Is there a way to use a property to pass, let's say just two properties, for example by including them in another property...
COMBINEDPROPERTY=[FIRSTPROPERTY] [SECONDPROPERTY]
Then the custom action .exe is called with [COMBINEDPROPERTY] as its parameter/argument. I was hoping that would then provide the various property values, but when I check what is passed to the .exe, I see [FIRSTPROPERTY] [SECONDPROPERTY] instead of something like firstvalue secondvalue.
Is this even possible?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Are you using a type 51 custom action to set COMBINEDPROPERTY ? And is COMBINEDPROPERTY listed in the SecureCustomProperties property?
InstallSite.org / InstallSite.de
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I tried passing several properties in a single property and that didn't work. I'm just passing all of my properties in as a delimited list with is split into an array and handled that way in custom action code.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Are you using a type 51 custom action to set COMBINEDPROPERTY ? And is COMBINEDPROPERTY listed in the SecureCustomProperties property?
InstallSite.org / InstallSite.de
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Ah, I think I overlooked the set property method. What I did to quickly test was to place [Property1] [Property2] directly in the Property table value. I think I totally forgot about the set property custom action. I'm confident that will work.
And all involved are in SecureCustomProperties.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Yes, the Value column of the Property table is of type Text, not Formatted, therefore properties are not resolved in that column.
InstallSite.org / InstallSite.de
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thank you Stefan. It's something I've always wondered about, but never had the opportunity or need to try some like this.