Sangi Posted January 10, 2006 Share Posted January 10, 2006 (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 :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 OffSET PP=%SystemDrive%\install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "VMWare Workstation" /fREG 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" /fEXITShould it work?Do I have to add the reg file, and if so, where?Best,Angie 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 January 11, 2006 by Sangi Link to comment Share on other sites More sharing options...
Halfwalker Posted January 10, 2006 Share Posted January 10, 2006 That should work fine. Mine is exactly the same, except I have DESKTOP_SHORTCUT=0 and /norestart in there.D. Link to comment Share on other sites More sharing options...
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