Jump to content

Recommended Posts

Posted (edited)

Hi Pirrup,

I've been trying to adapt your method to my RunOnce.Ex, but I've still got a few, typical newbie problems :blushing: :

Your command goes as follows:

cmd1[pn]=['%cdrom%\\Applications\\VMware\\VMware.exe /s /v"ADDLOCAL=ALL DISABLE_AUTORUN=0 SERIALNUMBER=xxxxx-xxxxx-xxxxx-xxxxx DESKTOP_SHORTCUT=1 /qn"']

This is my adaptation for RunOnceEx (all my other programmes have used this sort of template):

cmdow @ /HID

@Echo Off

SET PP=%SystemDrive%\install\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY%\000 /VE /D "VMWare Workstation" /f

REG ADD %KEY%\000 /V 1 /D "%PP%\VMware\VMware.exe /s /v"ADDLOCAL=ALL DISABLE_AUTORUN=0 SERIALNUMBER=xxxxx-xxxxx-xxxxx-xxxxx DESKTOP_SHORTCUT=1 /qn" /f

EXIT

Should it work?

Do I have to add the reg file, and if so, where?

Best,

Angie

:blushing:

PS. The worse thing is, I can't seem to test this on VMWare, I have to do the full installation .....

Actually it didn't work! But I turned to the administrative install method, and that did the trick alright...

Edited by Sangi

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