quotee Posted February 22, 2005 Posted February 22, 2005 HiI do have a problem ;-)I would like to install Mindmanager X5 with runonceex.cmdI filled in the following:REG ADD %KEY%\004 /VE /D "Mindmanager X5" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\Applications\mindmanager\MindManager.msi /qn INSTALLDIR="C:\Programme\Mindjet\MindManager 5\" EULA_REGION="5" ISX_SERIALNUM="xxxx - xxx - xxxx - xxxx - xxxx" USERNAME="ME" COMPANYNAME="COMPANY"" /fIn a normal batch file it works perfect!I am sure the problem are the quotation marks (marked in the cmdline)...Anybody any idea??thanks & greetz
Astalavista Posted February 22, 2005 Posted February 22, 2005 why dont u make a cmd and put the code in therethen launch the cmd?
quotee Posted February 22, 2005 Author Posted February 22, 2005 the cmd window isn´t that beautifull ;-) (although I use cmdow)I just do the runonceex way because it looks professional ;-)but thx for the idea ;-)greetz
erik_demon Posted February 22, 2005 Posted February 22, 2005 @quoteeYes indeed, the quotes are the problem.Everytime you use a quote (execept for the start & end quote) in runonceEX, you need to put a \ before the quote so your quote will look like this:\"I guesse your line should be:REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\Applications\mindmanager\MindManager.msi /qn INSTALLDIR=\"C:\Programme\Mindjet\MindManager 5\" EULA_REGION=\"5\" ISX_SERIALNUM=\"xxxx - xxx - xxxx - xxxx - xxxx\" USERNAME=\"ME\" COMPANYNAME=\"COMPANY\"" /fIf you are not sure about a line: test it!run your runonceEX.cmd, and check your registry if the line is correct(don't forget to remove the lines from the registry because if you don't your setup will start on next boot )registry patch: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
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