easyindian Posted March 18, 2005 Posted March 18, 2005 Hello All,REG ADD %KEY%\015 /VE /D "WS_FTP Professional" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\INSTALL\WSFTP\WS_FTP.exe -s -f1"%CDROM%\INSTALL\WSFTP\wsftp.iss"" /fREG ADD %KEY%\060 /VE /D "Completing Installation..." /fREG ADD %KEY%\060 /V 1 /D REGEDIT /S "%CDROM%\INSTALL\tweaks.reg" /fWhats wrong with these configuration. Please help me. It works on batch file.
un4given1 Posted March 18, 2005 Posted March 18, 2005 If you are trying to use this in GuiRunOnce it's because you can't double quote...
spachtler Posted March 18, 2005 Posted March 18, 2005 its something with the " ", but if the .iss file is in the same folder like the ws_ftp.exe setup, you dont have to write the full path to it. try this one:REG ADD %KEY%\015 /V 1 /D "%CDROM%\INSTALL\WSFTP\WS_FTP.exe -s -f1 wsftp.iss" /f
easyindian Posted March 19, 2005 Author Posted March 19, 2005 Thanks guysI will try and let you know. again, what do i do with the registry upload?thanks indeed
mrguitarmann Posted July 27, 2005 Posted July 27, 2005 (edited) REG ADD %KEY%\015 /VE /D "WS_FTP Professional" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\INSTALL\WSFTP\WS_FTP.exe -s -f1"%CDROM%\INSTALL\WSFTP\wsftp.iss"" /fREG ADD %KEY%\060 /VE /D "Completing Installation..." /fREG ADD %KEY%\060 /V 1 /D REGEDIT /S "%CDROM%\INSTALL\tweaks.reg" /fOK, You can use quotes when adding registry but for everything inside the the main set of quotes (the first and last quote) you have to add two " instead of the one. Ancient programming trick from the Spectrum coming in use again Your line should be:REG ADD %KEY%\015 /V 1 /D "%CDROM%\INSTALL\WSFTP\WS_FTP.exe -s -f1""%CDROM%\INSTALL\WSFTP\wsftp.iss""" Edited July 27, 2005 by mrguitarmann
tbma Posted July 27, 2005 Posted July 27, 2005 OK, You can use quotes when adding registry but for everything inside the the main set of quotes (the first and last quote) you have to add two " instead of the one. Ancient programming trick from the Spectrum coming in use again <{POST_SNAPBACK}>You can also escape it using \"Something likeREG ADD %KEY%\015 /V 1 /D "%CDROM%\INSTALL\WSFTP\WS_FTP.exe -s -f1\"%CDROM%\INSTALL\WSFTP\wsftp.iss\""
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