English 中文(简体)
Silent install installer with prerequisites [closed]
原标题:

Closed. This question is off-topic. It is not currently accepting answers.


Want to improve this question? Update the question so it s on-topic for Stack Overflow.

Closed 11 years ago.

Is there a way to install silently (/s) an InstallShield (non-MSI) installer that requires its own prerequisites?

In my case the prerequisite is Microsoft Visual C++ 2008 Redistributable. Its UI popping once the parent installer runs.

最佳回答

The nearest solution I could find was manipulating pre-requisite by extracting it from its parent. Similar to: http://blogs.msdn.com/astebner/archive/2007/02/07/update-regarding-silent-install-of-the-vc-8-0-runtime-vcredist-packages.aspx

问题回答

(Assuming you re using an InstallShield 2010 InstallScript project with InstallShield prerequisites...)

InstallShield prerequisites allow you to specify a command line to be used when it is run silently. If the redistributable you need to run takes a parameter that makes it run silently (unfortunately not all redistributables do), specify this in the prerequisite s Specify the command line for the application when the setup is running in silent mode field. I don t know specifically whether the VC++ 2008 redistributable takes such an argument. If it does not, perhaps you could create an MSI project that uses the VC++ 2008 merge module, then install this MSI as a prerequisite silently.

Specifying Command-Line Parameters for an InstallShield Prerequisite

msiexec /i vc_red.msi USING_EXUIH=1 /qn

Source





相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

.deb package conffiles problem

I am distributing one of my applications using a .deb package, but have a problem relating to one of the files. The distribution includes a database file which is constantly updated by the app, on a ...

Closing an application using WiX

In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this. <util:...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

configsource and installer

I have an project csproj, with app.config file, and logging Ent.Library section using configsource attribute. The logging section is in ahother file Configloggingconfiguration.config. I have a ...

热门标签