Red Gate forums :: View topic - silent install of Sql Developer bundle 10.1
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

silent install of Sql Developer bundle 10.1

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rohit.s



Joined: 09 May 2012
Posts: 4

PostPosted: Wed May 09, 2012 7:30 pm    Post subject: silent install of Sql Developer bundle 10.1 Reply with quote

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 ?
Back to top
View user's profile Send private message
chriskelly



Joined: 19 Apr 2010
Posts: 309
Location: Cambridge, UK

PostPosted: Fri May 11, 2012 10:03 pm    Post subject: Reply with quote

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

http://www.red-gate.com/supportcenter/generalcontent/all_products/articles/install_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
Back to top
View user's profile Send private message
rohit.s



Joined: 09 May 2012
Posts: 4

PostPosted: Tue May 15, 2012 3:41 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
chriskelly



Joined: 19 Apr 2010
Posts: 309
Location: Cambridge, UK

PostPosted: Tue May 15, 2012 4:53 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
rohit.s



Joined: 09 May 2012
Posts: 4

PostPosted: Tue May 15, 2012 9:15 pm    Post subject: Reply with quote

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 ?
Back to top
View user's profile Send private message
chriskelly



Joined: 19 Apr 2010
Posts: 309
Location: Cambridge, UK

PostPosted: Tue May 15, 2012 10:18 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
rohit.s



Joined: 09 May 2012
Posts: 4

PostPosted: Mon May 21, 2012 9:43 pm    Post subject: Reply with quote

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"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group