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

Prerequisite executing existing system file?

A prerequisite seems intended to download or carry an executable to execute prior to the actual product installation. However, is there some way to specify that it execute an existing executable on the target system?

Specifically, I'm trying to execute either ocsetup.exe or sysocmgr.exe from a prerequisite so as to install MSMQ. I don't want to have to carry a copy of either executable around with the installer, so the correct thing should be to execute what is already in the Windows System folder. However, the Prerequisite editor (and underlying prq file) don't seem structured for this scenario; the expectation seems to be that an included file is executed, with provision for additional command line specifications.

Is it possible to set up the prq file such that this will work?

For example:


cmdline="/i:%windir%\inf\sysoc.inf /u:[ISPREREQDIR]msmqoc.txt /q /w"
cmdlinesilent="%/i:%windir%\inf\sysoc.inf /u:[ISPREREQDIR]msmqoc.txt /q /x ">


Or:


cmdline="%windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:[ISPREREQDIR]msmqoc.txt /q /w"
cmdlinesilent="%windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:[ISPREREQDIR]msmqoc.txt /q /x ">


Thoughts anyone? Anyone done this successfully?

Thanks.
Labels (1)
0 Kudos
(1) Reply
Richard_Otter
Level 2

I have the same question.
0 Kudos