royalbox Posted August 30, 2003 Share Posted August 30, 2003 From microsoft:This update supports the following Setup switches: Switch Description-------------------------------------------------------------------------/? Displays the list of installation switches/Q Quiet mode/T:<full path> Specifies the temporary working folder/C Extract files only to the folder when it is used with /T/C:<Cmd> Override Install Command that author defines/N No restart dialog boxFor example, the following command-line command installs the update without any user intervention and suppresses a restart:Q823718_MDAC_SecurityPatch /C:"dahotfix.exe /q /n" /q The /q switch that is specified for dahotfix.exe is for a silent install, and the /n switch suppresses the restart.Q823718_MDAC_SecurityPatch /C:"dahotfix.exe /q /n" /q ???I can't make head nor tail of that one I'm afraid. Can anyone explain that? Link to comment Share on other sites More sharing options...
Geckotek Posted August 30, 2003 Share Posted August 30, 2003 Edit: dahotfix = Data Access Components Hotfix Installer Link to comment Share on other sites More sharing options...
remyblade Posted August 30, 2003 Share Posted August 30, 2003 Q823718_MDAC_SecurityPatch /C:"dahotfix.exe /q /n" /q ???Oke, lose the last /q because it's useless and will generate an error.It took me some time to figure out but this works :start /wait %systemdrive%\Hotfixes\Q823718.exe /Q /C:"dahotfix /q /n"I renamed it to Q?????.exe as you can see.Hope it helps. Link to comment Share on other sites More sharing options...
Geckotek Posted August 30, 2003 Share Posted August 30, 2003 Q823718_MDAC_SecurityPatch /C:"dahotfix.exe /q /n" /q ???Oke, lose the last /q because it's useless and will generate an error.It took me some time to figure out but this works :start /wait %systemdrive%\Hotfixes\Q823718.exe /Q /C:"dahotfix /q /n"I renamed it to Q?????.exe as you can see.Hope it helps. You're still using the /Q, you just moved it. Link to comment Share on other sites More sharing options...
Tbone2 Posted August 30, 2003 Share Posted August 30, 2003 start /wait %systemdrive%\Hotfixes\Q823718.exe /Q /C:"dahotfix /q /n"worked !!!!!!! Link to comment Share on other sites More sharing options...
remyblade Posted August 30, 2003 Share Posted August 30, 2003 First of all you're right.I will try to explain :The hotfix contains 2 parts (1 useses the other) both parts need to be installed quietly so that's why you have two times /q Link to comment Share on other sites More sharing options...
Geckotek Posted August 30, 2003 Share Posted August 30, 2003 First of all you're right.I will try to explain :The hotfix contains 2 parts (1 useses the other) both parts need to be installed quietly so that's why you have two times /qYes, but you still have the /Q for both parts whether it is written:Q823718_MDAC_SecurityPatch /C:"dahotfix.exe /q /n" /qorQ823718_MDAC_SecurityPatch /Q /C:"dahotfix.exe /q /n"But as far as syntax goes, you still have 'command /C /Q', you have just changed the order of the switches and the case of the /Q switch. I suspect the case is what fixed it. (Not "lose the last /q" which really didn't happen.)Edit: the more I think about it the more I suspect it may be the order of the switches that resolved it. Link to comment Share on other sites More sharing options...
Mike500 Posted August 30, 2003 Share Posted August 30, 2003 It's easy. Open the file with WinRAR. What do you see? dahotfix.exe. You are telling it to run the included dahotfix.exe with the parameters /q and /n. Link to comment Share on other sites More sharing options...
royalbox Posted August 30, 2003 Author Share Posted August 30, 2003 Thanks for all the replies on this. I particually liked this one:It's easy. Seriously though, it's not all that clearly explained by microsoft. It looked to me like I should have a separate file called dahotfix.exe as well as the hotfix file. But you've explained that it's part of the hotfix file. Anyway, as long as it works that's what matters.Thanks again all. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now