big_gie Posted April 2, 2004 Posted April 2, 2004 Hi,Recently, I compressed the programs I want to install unattended (@ T-12).After compressing, I'm having trouble... I get some Windows Installer "bad command line"...The comment for the SFX file is as follow:Path=%windir%\temp\dotnetSavePathSetup=dotnetfx.exe /Q:A /C:"msiexec /qn /i netfx.msi"Silent=1Overwrite=1Title=Microsoft® .NET Framework v1.1Text{Microsoft® .NET est un ensemble de technologies permettant l'interconnexion des informations, des individus, des systèmes informatiques et des terminaux. Il permet un haut niveau d'intégration à travers l'utilisation des services Web XML ? éléments de base permettant aux applications de se connecter les unes aux autres à travers le réseau Internet.}Inside this SFX file, there is only dotnetfx.exe. When I double click it, I get the WinRAR SFX window who wants to extract to c:\windows\temp. Clicking the install button just works fine; the command "dotnet.exe /Q:A /C:"msiexec /qn /i netfx.msi" execute just fine.But when calling the SFX with the winrar "/s" switch, I get a "Windows Installer bad command line" like the one on the screenshot.Does anyone knows what could be the problem??? Why is it working by double clicking the sfx and not when calling it with the "/s" switch???thank you very much.
RayOK Posted April 2, 2004 Posted April 2, 2004 Its possible WinRar is case sensitive? Maybe /S for SFXs will work..? (do for me)Second possibility is, I see in your path statement it is %windir%\temp\dotnet and you say when you double click on your SFX it goes to c:\windows\temp and not c:\windows\temp\dotnet. Maybe the file isn't there?
big_gie Posted April 2, 2004 Author Posted April 2, 2004 Thanx RayOk,I'm not sure if winrar is case sensitive, could try it tough.Also, it get extracted to C:\windows\temp\dotnet: the extraction went ok.I think I found the source of the problem; If I try to run netfx.exe /Q:A /C:"msiexec /qn /i netfx.msi"then I get the same popup. Maybe the command line is not good for dot net?I tryed extracting netfx.exe so I got netfx.msi and others. I then compress those files in SFX wich run "netfx.msi /qn" but I still get the same popup....
big_gie Posted April 2, 2004 Author Posted April 2, 2004 I'm pretty sure where the error come from:When runnong this from XPlode, it runs the sfx witch extract and xplode wait for it to end. When it ends extracting it goes to the next one, and don't let the time for the app to install. So there is 2 or more apps trying to access msiexec... I'll try making 2 step: one extraction, and the other will run...Will post back feedback.
big_gie Posted April 3, 2004 Author Posted April 3, 2004 Finnaly... working again.That was it. XPlode was waiting for the SFX to end, was then executing the next item.I've dividied things into 2 parts: one for extracting and one for executing...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now