cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sruetzler
Level 4

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
Labels (1)
0 Kudos
(6) Replies
DebbieL
Level 17

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
0 Kudos
sruetzler
Level 4

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
0 Kudos
DebbieL
Level 17

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.
0 Kudos
sruetzler
Level 4

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
0 Kudos
sruetzler
Level 4

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
0 Kudos
DebbieL
Level 17

I'm glad you got it working.
0 Kudos