Jump to content

Recommended Posts

Posted

Hello All,

REG ADD %KEY%\015 /VE /D "WS_FTP Professional" /f

REG ADD %KEY%\015 /V 1 /D "%CDROM%\INSTALL\WSFTP\WS_FTP.exe -s -f1"%CDROM%\INSTALL\WSFTP\wsftp.iss"" /f

REG ADD %KEY%\060 /VE /D "Completing Installation..." /f

REG ADD %KEY%\060 /V 1 /D REGEDIT /S "%CDROM%\INSTALL\tweaks.reg" /f

Whats wrong with these configuration. Please help me. It works on batch file.


Posted

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

  • 4 months later...
Posted (edited)
REG ADD %KEY%\015 /VE /D "WS_FTP Professional" /f

REG ADD %KEY%\015 /V 1 /D "%CDROM%\INSTALL\WSFTP\WS_FTP.exe -s -f1"%CDROM%\INSTALL\WSFTP\wsftp.iss"" /f

REG ADD %KEY%\060 /VE /D "Completing Installation..." /f

REG ADD %KEY%\060 /V 1 /D REGEDIT /S "%CDROM%\INSTALL\tweaks.reg" /f

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 :D

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 by mrguitarmann
Posted
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 :D

You can also escape it using \"

Something like

REG ADD %KEY%\015 /V 1 /D "%CDROM%\INSTALL\WSFTP\WS_FTP.exe -s -f1\"%CDROM%\INSTALL\WSFTP\wsftp.iss\""

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...