Jump to content

Recommended Posts

Posted

Hi

I do have a problem ;-)

I would like to install Mindmanager X5 with runonceex.cmd

I filled in the following:

REG ADD %KEY%\004 /VE /D "Mindmanager X5" /f

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"" /f

In 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


Posted

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

Posted

@quotee

Yes 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\"" /f

If 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 :P )

registry patch:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

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...