cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Techie42
Level 6

external execute to setup.exe cmd line

I am running a child installer (IS 11.5 windows installer with IS script).

from the dos prompt I can run this...

setup_test.exe /s /v"/Qr INSTALLDIR=\"c:\foo bar\""

But from the ISMP exteranl execute this fails when I use it like this...

/S
/v"/qr INSTALLDIR=\"$P(absoluteInstallLocation)\""

I also tried this

/S
/v"INSTALLDIR=\"$P(absoluteInstallLocation)\"/qr"

Bradley
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

As a test, does it work with just:

/s
/V"INSTALLDIR=\"$P(absoluteInstallLocation)\""


How about a hard-coded location? A hard-coded location with no spaces in it?

From what I've heard, the Execute Process action does funny things with quotation marks in/around a single argument...
0 Kudos
Techie42
Level 6

RobertDickau wrote:
As a test, does it work with just:

/s
/V"INSTALLDIR=\"$P(absoluteInstallLocation)\""


How about a hard-coded location? A hard-coded location with no spaces in it?

From what I've heard, the Execute Process action does funny things with quotation marks in/around a single argument...


With out the /qr it works fine.
0 Kudos
Techie42
Level 6

RobertDickau wrote:
How about a hard-coded location? A hard-coded location with no spaces in it?


from a command line I can use...

C:\snapshots\PE_CCE_DEV_vmtorpexpbuild\ccsbin\install_images\emulation\setup_ccsv4_test.exe /s /v"/Qr INSTALLDIR=\"c:\foobar\""

So I just tried this in the installer like this...
/s
"/v/qr INSTALLDIR=\"c:\foobar\""

and this does work. So it must be $P(absoluteInstallLocation) causing the problem?

Bradley
0 Kudos