silent install of Sql Developer bundle 10.1

Compares and synchronizes SQL Server databases, backups and scripts.

Moderators: JonathanWatts, Chris Auckland, David Atkinson, eddie davis, Anu Deshpande, Michelle Taylor, alice.easey, james.billings, chengvoon.tong

silent install of Sql Developer bundle 10.1

Postby rohit.s » Wed May 09, 2012 7:30 pm

I would like to try an unattended install the SQL Compare tool from the bundle.
I can extract the .msi file from the downloaded .exe.
What are the command line options I need to pass to selectively install individual components and also the EULA consent ?
rohit.s
 
Posts: 4
Joined: Wed May 09, 2012 7:18 pm

Postby chriskelly » Fri May 11, 2012 10:03 pm

This document explains the full process for extracting and installing the .msi's

http://www.red-gate.com/supportcenter/g ... nstall_msi

For the bundle, the .msi for each tool will be created in a seperate directory so you will need to run the msiexec command for each tool that you want to install. For example:

C:\\Users\\chris.kelly\\Downloads>msiexec /I "C:\\Users\\chris.kelly\\Downloads\\SQL Compare_10.1.0.102_x86_r201382 10.1.0.102\\SQL Compare_10.1.0.102_x86_r201382 10.1.0.102.msi" TRANSFORMS="C:\\Users\\chris.kelly\\Downloads\\SQL Compare_10.1.0.102_x86_r201382 10.1.0.102."SQL Compare_10.1.0.102_x86_r201382 10.1.0.102.mst"
Chris Kelly
Technical Support Engineer
chriskelly
 
Posts: 330
Joined: Mon Apr 19, 2010 1:44 pm
Location: Cambridge, UK

Postby rohit.s » Tue May 15, 2012 3:41 pm

Thanks Chris.
How does one specify the following options ?

1) Automatically accepting the License agreement. The document mentions hitting Next.
2) Specifying a custom install folder.
rohit.s
 
Posts: 4
Joined: Wed May 09, 2012 7:18 pm

Postby chriskelly » Tue May 15, 2012 4:53 pm

You can use:
/IAgreeToTheEULA
to automatically accept the License Agreement

you can also use:
RG_LICENSE=xxx-xxx-xxxxxx-xxxx
to specify the serial number to automatically (where x is replaces with your 16 digit serial number).

finally you can use:
/q
and notGUI will appear at all.

Unfortunately, I am not aware of a method for specifying an alternative installation folder.
Chris Kelly
Technical Support Engineer
chriskelly
 
Posts: 330
Joined: Mon Apr 19, 2010 1:44 pm
Location: Cambridge, UK

Postby rohit.s » Tue May 15, 2012 9:15 pm

calling the .exe with extract option throws up the UI to select components to extract.
Is there any way to pass the components you need to the installer and avoid this interaction ?
rohit.s
 
Posts: 4
Joined: Wed May 09, 2012 7:18 pm

Postby chriskelly » Tue May 15, 2012 10:18 pm

I'm not aware of a way to avoid the UI during the extract stage. However, you could run the extract on your own machine and then only distribute the .msi for those tools which you want to install. Therefore only the install part needs to run on each machine.
Chris Kelly
Technical Support Engineer
chriskelly
 
Posts: 330
Joined: Mon Apr 19, 2010 1:44 pm
Location: Cambridge, UK

Postby rohit.s » Mon May 21, 2012 9:43 pm

The INSTALLDIR option works for alternate install folder.

msiexec /I "C:\\temp\\redgate-1.8.2.238.msi" TRANSFORMS="C:\\temp\\redgate-1.8.2.238.mst" INSTALLDIR="e:\\apps\\prod\\SQLCompare10"
rohit.s
 
Posts: 4
Joined: Wed May 09, 2012 7:18 pm


Return to SQL Compare 10

Who is online

Users browsing this forum: No registered users and 0 guests