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
- :
- Property as a parameter for a prerequisite parameter msi installation
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
‎Dec 10, 2012
05:44 AM
Property as a parameter for a prerequisite parameter msi installation
Hello,
is it possible to pass the value of a propertry as a parameter to a prerequisite installation.
I now that i have to define them in the "Application to Run" tab in the "Installshield Prerequisite Editor".
I also now how to store the parameter in a property of the called msi installer
PROPERTYNAME=foo
But i don't know how to pass the value of a property of the calling installer as a parameter to the called msi installer.
Thanks Simon
is it possible to pass the value of a propertry as a parameter to a prerequisite installation.
I now that i have to define them in the "Application to Run" tab in the "Installshield Prerequisite Editor".
I also now how to store the parameter in a property of the called msi installer
PROPERTYNAME=foo
But i don't know how to pass the value of a property of the calling installer as a parameter to the called msi installer.
Thanks Simon
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 10, 2012
09:23 AM
The following help topic has details on what is supported. (It depends on things like what type of file you are launching for the prerequisite.)
Specifying Command-Line Parameters for an InstallShield Prerequisite
Specifying Command-Line Parameters for an InstallShield Prerequisite
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 11, 2012
01:16 AM
Hello,
thanks for the answer but i know this articel and it doesn't help me.
I want to launch an msi file.
And i know that i can specifiy a parameter in the called msi with
FOO=42 int the command line of the application.
But what if the value 42 is stored in a property BAR. How can i use it.
I tried FOO=[BAR] but this doesn't work.
Regards Simon
thanks for the answer but i know this articel and it doesn't help me.
I want to launch an msi file.
And i know that i can specifiy a parameter in the called msi with
FOO=42 int the command line of the application.
But what if the value 42 is stored in a property BAR. How can i use it.
I tried FOO=[BAR] but this doesn't work.
Regards Simon
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 11, 2012
09:08 AM
Ah, I got it now. I misunderstood the original requirement.
Setup prerequisites do not support that sort of property substitution. Feature prerequisites do, but only if they are run with a full UI (not silently).
You may want to take a look at a Suite project, since this project type does support the sort of property substitution that you are looking for.
Setup prerequisites do not support that sort of property substitution. Feature prerequisites do, but only if they are run with a full UI (not silently).
You may want to take a look at a Suite project, since this project type does support the sort of property substitution that you are looking for.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 12, 2012
01:14 AM
Hello,
thanks for the reply.
I'm using a feature prerequisite.
I know the suite projects and we are want to use it for our new projects but it isn't working because of some errors.
Do you mean that i can only use the properties as a paramater if i run the prerequisite installation with Full UI. Or must the calling installation runs with Full UI? This is true for me.
How can i pass the property? Like i have done? FOO=[BAR]
Or something else?
Thanks Simon
thanks for the reply.
I'm using a feature prerequisite.
I know the suite projects and we are want to use it for our new projects but it isn't working because of some errors.
Do you mean that i can only use the properties as a paramater if i run the prerequisite installation with Full UI. Or must the calling installation runs with Full UI? This is true for me.
How can i pass the property? Like i have done? FOO=[BAR]
Or something else?
Thanks Simon
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 12, 2012
08:42 AM
Hello,
thanks for the help.
I have retried it with FOO=[BAR] and it is working now.
I don't know why it is hasn't worked before.
Regards Simon
thanks for the help.
I have retried it with FOO=[BAR] and it is working now.
I don't know why it is hasn't worked before.
Regards Simon
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 12, 2012
09:06 AM
I'm glad you got it working.