Archive: installing MSDE


installing MSDE
hi,
i'm trying to install MSDE using the fonction .oninit in my NSIS program and it work but my problem is that the pages of NSIS appear although MSDE continues its installation although i use :

ExecWait "$PROGRAMFILES\MSDE\Setup.exe "

so if you can help me it will be great
thanks
(sorry for my bad english):rolleyes:


The setup process that you are executing is executing a seperate process and therefore the ExecWait instruction does not wait.

You need to give it extra parameters to make it wait.
For example;

ExecWait '"$PROGRAMFILES\MSDE\Setup.exe" /sms'
This applied to old InstallShield wizards but will likely not apply to you... but it gives you the general idea.

-Stu


thank you Afrow UK
but where can i find others examples of extra parameters...


There is a thread on another forum discussing a little tool called Universal Silent Switch Finder which achieves (most of the time) what you are after: It will read an EXE file and will tell you what type of installer it is and what (silent) switches may be available.
CF


[Edit] Another option is to try AppDeploy.com which contains information about silent switches for various applications. I am not sure which MSDE you are installing but there is some indformation on v6.x


i'm installing MSDE 2000


The link I posted above should work for you then.
You may also want to check q238232 and q233312

CF


i try to download the peid.exe which is needed to run the Universal Silent Switch Finder but i fail to do that

did you find a problem when you downolod it?


I got it a long time ago. Doing a google search I found it here


;)

CF


i try that but the peid dont recognise the setup of MSDE:

Unknown installer!


Is the installer a msi?
If so, you'd be executing it with msiexec.exe.
You can find all the parameters for msiexec.exe by running:
msiexec /?

-Stu


There is a thread on another forum discussing a little tool called Universal Silent Switch Finder which achieves (most of the time) what you are after
...

[Edit]
Are you using this version? If yes, then extract the MSDE2000A.exe file with some tool like WinRAR or WinZIP and you will find a setup.exe inside. Invoking it with
setup.exe /?
will give you a list of options that you can pass at the command line. It looks like this is driving an msi file so it should be pretty straight forward to deal with it.

This page from the AppDeploy site has all the info that you need :)

CF

[Edit2] You do not need to use Orca to edit the MSI if you don't want to alter it or create transforms. You can get a silent install without invoking the extracted setup.exe, by using directly the MSI package:
start /wait msiexec.exe /qb /i Sql2000.msi SAPWD=sa


[Edit3] Make sure you read this MSDN page which describes all the available options for deploying MSDE

:)

CF

thank you guys
i just put /wait in my command and it work perfectly:D
merci beaucoup