Archive: Passing silent switches to included setup.exe


Passing silent switches to included setup.exe
Hi..
I want to achieve a completely silent installation of current ATi Catalyst Drivers.
It is a "package for the web" .That means it is a directory and file structure packageged into one exe file. That structure has its own separate setup exe.
That catalyst package is made in NSIS.
Now.
There is a /S switch for that package made in NSIS..that's ok.
There is a /k switch for that setup.exe inside the packaded structure.

So it is an instaler inside an instaler.

Both switches work ok. The problem is it is not possible to launch it so that both of them would run silently in one command. That's the point.In one command.

In installshield type "package for the web", there is a possibility to pass on switches to the included setup.exe
What I want to achieve si something like that.
In start/run ...there would be

"c:\DRIVERS\ati-driver-very-complicated-name.exe" /S /X /k

The first is OK..

the /k is for the setup.exe inside the package..

/X is what I need... a switch that tells to pass on any following switches to the second setup.

I hope, I vas very clear and explicit about what I want to achieve..Please, don't advise me some third party decompresion tools, or some manual action in between.
I need a single command.
Only when somebody will tell me that NSIS isn't capable of this, I will consider another methods.
Thank you in advance :)
Krisiacik


You need to include the ATi Catalyst Driver InstallShield package inside your NSIS installer rather than inside the NSIS installer that it is downloaded in. You cannot pass parameters from the main NSIS installer to the InstallShield installer packaged inside because the parameters passed are hard-coded into the NSIS installer (with an Exec instruction no doubt).

-Stu