DarshfX Posted May 10, 2005 Share Posted May 10, 2005 Hi allI have little problem for making an 7zip extracting during cmdlines and runonceexI explainCMDLINES.txt1) My cmdlines.txt call outils.exe and themes.cmd2) Outils.exe is a winrar sfx that contain sleep, cmdow and 7za.exe and place it in system32 (they are in the directory after the installation)3) Themes.cmd do "7za.exe x Themes.7z -o"%windir%\Resources\Themes\" -y" (this command works fine under windows) but the files is not extractedRunOnceEX.cmdDoing the same thing as above with YzToolbarREG ADD %KEY%\005 /VE /D "Y'z Toolbar 1.3" /fREG ADD %KEY%\005 /V 1 /D "%cdrom%\Install\005-YzToolbar\7za.exe x YzToolbar.7z -o"%ProgramFiles%\" -y" /fREG ADD %KEY%\005 /V 2 /D "REGEDIT /S %cdrom%\Install\005-YzToolbar\YzToolbar.reg" /fI think my syntaxes is uncorrect but don't know wath syntax use for doing the jobD@rshfX Link to comment Share on other sites More sharing options...
evilvoice Posted May 10, 2005 Share Posted May 10, 2005 I use this for extracting driverpacks7za.exe x -y -aoa %CDDRIVE%\$OEM$\Drivers\DriverPack_*.7z -o"%SYSTEMDRIVE%\Drivers"I notice you have a \ at the end of the -o command...try removing that. Link to comment Share on other sites More sharing options...
Yzöwl Posted May 10, 2005 Share Posted May 10, 2005 I notice you have a \ at the end of the -o command...try removing that.<{POST_SNAPBACK}>Rather try adding another oneREG ADD %KEY%\005 /V 1 /D "%cdrom%\Install\005-YzToolbar\7za.exe x YzToolbar.7z -o\"%ProgramFiles%\" -y" /for if your intention was to have a backslash i.e. FilePath\ thenREG ADD %KEY%\005 /V 1 /D "%cdrom%\Install\005-YzToolbar\7za.exe x YzToolbar.7z -o\"%ProgramFiles%\\" -y" /fA backslash is used as an escape character for your internal quotation marks. Link to comment Share on other sites More sharing options...
DarshfX Posted May 10, 2005 Author Share Posted May 10, 2005 Ok thanks for answering meTo Evilvoice@ what time in installation are you using this ? (cmdlines, runonce ?)and what are the -aoa for ?Edit: find the -aoa, i will use it =)To YzöwlI don't know if the backslash is necessary. i just want a "Y'z Toolbar" folder in %programfiles% and for themes, i want all theme to be placed in resources\themes. so if i don't need the backslash, i can go without it =) Link to comment Share on other sites More sharing options...
DarshfX Posted May 10, 2005 Author Share Posted May 10, 2005 After some testing i find what's going wrongThis is the syntaxFor extracting files like this, we must do this :7za.exe x -y -aoa %cdrom%\Install\004-YzShadow\YzShadow.7z -o"%ProgramFiles%"The problem was from where 7za.exe was placed in the commandBut this works fine for runonceex but not during cmdlinesAny way to do this during cmdlines ??? 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