BoardBabe Posted February 21, 2005 Posted February 21, 2005 What is the correct way to put the path in cmd1[pn]=, to setup.exe?prog[pn]=['Adobe Illustrator CS']uid[pn]=['illustrator']desc[pn]=['Install Adobe Illustrator CS.']ordr[pn]=[6]cmd1[pn]=['%cdrom%\\PROGRAMVARE\\IllustratorCS\\Adobe illustrator CS\\setup.exe -s -f2\\"%systemdrive%\\Install\\Illustrator.log\\"']cat[pn]=['Programvare']pn++my guess would be cmd1[pn]=['\"%cdrom%\\PROGRAMVARE\\IllustratorCS\\Adobe illustrator CS\\setup.exe\" -s -f2\\"%systemdrive%\\Install\\Illustrator.log\\"'] is this correct?
Kelsenellenelvian Posted February 21, 2005 Posted February 21, 2005 Not really sure just what you mean the wpi commands I use don't have any quotations in them and anything that really needs complicated instructions like that I just put in a winrar sfx and have it install from the temp folder.
BoardBabe Posted February 21, 2005 Author Posted February 21, 2005 What i mean is that i have spaces in my path to the .exe file. How should i handle this?
Kelsenellenelvian Posted February 21, 2005 Posted February 21, 2005 OOOOOhhhhh duh!!!!!!! YES it handles spaces just fine.
BoardBabe Posted February 22, 2005 Author Posted February 22, 2005 cmd1[pn]=['%cdrom%\\PROGRAMVARE\\IllustratorCS\\Adobe illustrator CS\\setup.exe -s -f2\\"%systemdrive%Says Cant find D:\Prorgramvare\IllustratorCS\Adobe
BoardBabe Posted February 23, 2005 Author Posted February 23, 2005 prog[pn]=['Microsoft AntiSpyware']uid[pn]=['msantispyware']desc[pn]=['Install Microsoft AntiSpyware beta 1.']ordr[pn]=[14]cmd1[pn]=['"%cdrom%\\PROGRAMVARE\\MSANTISPYWARE\\Microsoft AntiSpyware.msi" /qn REBOOT=ReallySuppress ALLUSERS=1']cmd2[pn]=['"%programfiles%\\Microsoft AntiSpyware\\gcasDtServ.exe" /regserver']dflt[pn]=['yes']cat[pn]=['Tilbehør']pn++Maybe this makes it more clear Is this code the correct way to handle a path with spaces?
bonedaddy Posted February 23, 2005 Posted February 23, 2005 I don't understand the problem here, I use this and many like it;prog[pn]=['<u><font color=#33ffff">ATI AIW Remote</font></u>]desc[pn]=['AIW Remote v.25.'] cat[pn]=['<u><font color=#33ffff">ATI Drivers</font></u>]cmd1[pn]=['%cdrom%\\software\\ati25rw\\remote25.exe -s -f2"%systemdrive%\\ATIRW.log"']cmd2[pn]=['wait 300']ordr[pn]=[69]pn++BDEDITThis program is very forgiving compaired to RunOnceEx, most of the quotes canbe done away with, I just copied from ROEx and left them, but I experimentedin the past.......
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