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: How do I (command-line install questions)?
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
‎Feb 09, 2009
12:16 PM
How do I (command-line install questions)?
Hi,
I currently have an Installscript MSI Project which builds, and installs properly. I am now trying to configure the ability to install through the command line, using msiexec.
msiexec specifies that I must include the package name, for example:
msiexec /package installer.msi /passive /forcereboot
However, my build, when uncompressed, gives me an msi file which can only be invoked through the setup.exe that is also included with the build.
What I want to do is compress all the files and folders into an msi (if that's even possible), and be able to run that msi via msiexec so I can have an automated install...
What do I need to do in order to configure my project to accomplish this?
Thanks in advance.
I currently have an Installscript MSI Project which builds, and installs properly. I am now trying to configure the ability to install through the command line, using msiexec.
msiexec specifies that I must include the package name, for example:
msiexec /package installer.msi /passive /forcereboot
However, my build, when uncompressed, gives me an msi file which can only be invoked through the setup.exe that is also included with the build.
What I want to do is compress all the files and folders into an msi (if that's even possible), and be able to run that msi via msiexec so I can have an automated install...
What do I need to do in order to configure my project to accomplish this?
Thanks in advance.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 09, 2009
04:03 PM
Any takers?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 09, 2009
04:10 PM
Aside from the new embedded InstallScript MSI option (which requires Windows Installer 4.5), InstallScript MSI projects must be launched from setup.exe. However if your primary goal is to make it a silent install, please see the help topics for recording silent installations.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 09, 2009
04:14 PM
MichaelU wrote:
Aside from the new embedded InstallScript MSI option (which requires Windows Installer 4.5), InstallScript MSI projects must be launched from setup.exe. However if your primary goal is to make it a silent install, please see the help topics for recording silent installations.
And that's basically what I needed. thank you sir.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 10, 2009
12:18 PM
DWillis wrote:
And that's basically what I needed. thank you sir.
Interesting, I created an input file using setup /r and running through the install.
However, now when I attempt to use the file I get a 1628 error when I issue the following command:
setup /fi"[pathtofile]"
when I try to run it in silent mode, it simply doesn't do anything. I see it invoke msiexec, but the application doesn't do anything.
Any ideas as to what's going on here?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 10, 2009
12:37 PM
DWillis wrote:
Interesting, I created an input file using setup /r and running through the install.
However, now when I attempt to use the file I get a 1628 error when I issue the following command:
setup /fi"[pathtofile]"
when I try to run it in silent mode, it simply doesn't do anything. I see it invoke msiexec, but the application doesn't do anything.
Any ideas as to what's going on here?
forget it. I got it figured out. I Had to use the /v/qn commands as well to trigger something in msiexec to properly run.
![](/skins/images/7DF1852B2C95702E61A73F170B191DAC/responsive_peak/images/icon_anonymous_message.png)