Ramona Posted September 1, 2006 Posted September 1, 2006 what am I doing wrongusing WPI v5.3i have autorun.inf as[autorun]shellExecute=wpi\wpi.htaICON=wpi\tools\WPI.icowhich seems fine as it launchessay I want to launch "Universal Silent Switch Finder.exe" in the wpi\tools folderthis is the command i have to launch it%CDROM%\WPI\Tools\Universal Silent Switch Finder.exe(it is the correct path)if my CD is drive D: it works, here is the logcmd1 Success (returned code 0): ""D:\\WPI\Tools\Universal Silent Switch Finder.exe""but if it is not drive D: I get an error, here is the logcmd1 *** Fail *** (returned code undefined): "D:\\WPI\Tools\Universal Silent Switch Finder.exe"shouldn't %CDROM% equate to the actual drive letter and not just D:\if I launch wpi.hta manually it has the correct drive letter but the wrong path, here is the logcmd1 *** Fail *** (returned code undefined): "R:\WPI\WPI\Tools\Universal Silent Switch Finder.exe"(looks like the actual path of where where WPI.hta resides, not just the root of the drive, + the path I code)
BritishBulldog Posted September 6, 2006 Posted September 6, 2006 (edited) could it be that you are missing inverted comma's in a command?If your command line has blanks in it like between Universal and Silent etc. then the command should be in inverted commas.if my CD is drive D: it works, here is the logcmd1 Success (returned code 0): ""D:\\WPI\Tools\Universal Silent Switch Finder.exe""but if it is not drive D: I get an error, here is the logcmd1 *** Fail *** (returned code undefined): "D:\\WPI\Tools\Universal Silent Switch Finder.exe" Edited September 6, 2006 by BritishBulldog
muiz Posted September 7, 2006 Posted September 7, 2006 (edited) Sow how do i install from cdrom then?is it just like this :CDROM%\WPI\install\emule\eMule0.47a.exe /Sor do i have to fill this in like this :"CDROM%\WPI\install\emule\eMule0.47a.exe /S"or... ?sorry for beeing a wpi n00b Edited September 7, 2006 by muiz
zorphnog Posted September 7, 2006 Posted September 7, 2006 There have been some issues with the cdrom variable not being set properly. This issue is being addressed in WPI v5.4, which should be out some time in the near future.
Pliek Posted September 7, 2006 Posted September 7, 2006 (edited) It should be:cmd1[pn]=['%wpipath%"WPI\Tools\Universal Silent Switch Finder.exe"'];Or rename switchfinder to:Tools\Universal_Silent_Switch_Finder.exe]; Edited September 8, 2006 by Pliek
Pliek Posted September 7, 2006 Posted September 7, 2006 Sow how do i install from cdrom then?is it just like this :CDROM%\WPI\install\emule\eMule0.47a.exe /Sor do i have to fill this in like this :"CDROM%\WPI\install\emule\eMule0.47a.exe /S"or... ?sorry for beeing a wpi n00b Muiz doe maar zo:cmd1[pn]=['%wpipath%WPI\install\emule\eMule0.47a.exe /S'];
Ramona Posted September 8, 2006 Author Posted September 8, 2006 (edited) Well I tried adding quotes but still.entrybeforecmd1[pn]=['%CDROM%\\American Mcgee\'s Alice\\Auto Install American Mcgee\'s Alice.exe'];aftercmd1[pn]=['%CDROM%"\\American Mcgee\'s Alice\\Auto Install American Mcgee\'s Alice.exe"'];errorcmd1 *** Fail *** (returned code undefined): "D:\\American Mcgee's Alice\Auto Install American Mcgee's Alice.exe"aftercmd1 *** Fail *** (returned code undefined): "D:\"\American Mcgee's Alice\Auto Install American Mcgee's Alice.exe""The %CDROM% variable always defaults to D:\ when autorun "shellExecute=wpi\wpi.hta" is used to launch WPI which is fine if my drive letter is D but it is notI was under the impression %CDROM% would equate to the actual drive letterIf I manually execute wpi.hta located in w:\wpi\wpi.hta it seems to set %CDROM% to "W:\WPI" which is the correct drive letter but not the root of the drive but the actual directory of where wpi.hta resides.errorcmd1 *** Fail *** (returned code undefined): "W:\WPI"\American Mcgee's Alice\Auto Install American Mcgee's Alice.exe"" Edited September 8, 2006 by Ramona
Pliek Posted September 11, 2006 Posted September 11, 2006 (edited) Well I tried adding quotes but still.entrybeforecmd1[pn]=['%CDROM%\\American Mcgee\'s Alice\\Auto Install American Mcgee\'s Alice.exe'];aftercmd1[pn]=['%CDROM%"\\American Mcgee\'s Alice\\Auto Install American Mcgee\'s Alice.exe"'];errorcmd1 *** Fail *** (returned code undefined): "D:\\American Mcgee's Alice\Auto Install American Mcgee's Alice.exe"aftercmd1 *** Fail *** (returned code undefined): "D:\"\American Mcgee's Alice\Auto Install American Mcgee's Alice.exe""The %CDROM% variable always defaults to D:\ when autorun "shellExecute=wpi\wpi.hta" is used to launch WPI which is fine if my drive letter is D but it is notI was under the impression %CDROM% would equate to the actual drive letterIf I manually execute wpi.hta located in w:\wpi\wpi.hta it seems to set %CDROM% to "W:\WPI" which is the correct drive letter but not the root of the drive but the actual directory of where wpi.hta resides.errorcmd1 *** Fail *** (returned code undefined): "W:\WPI"\American Mcgee's Alice\Auto Install American Mcgee's Alice.exe""First try this:Use %wpipath% instead of %cdrom%cmd1[pn]=['%wpipath%American_Mcgee_Alice\\American_Mcgee_Alice.exe']; So rename to shorter names, and take out the double slash after %wpipath% (so then in your install.log.text you don't have a double slash there, because % variable already returns a \).And make your Autorun like this:[autorun]SHELLEXECUTE=WPI\WPI.HTAICON=WPI.ICO That means you put WPI.ICO on the root of your WINXP source.Succes. Edited September 11, 2006 by Pliek
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