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
- :
- Re: Prerequisite executing existing system file?
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
Jul 15, 2009
10:22 AM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 07, 2011
06:43 PM
I have the same question.