Jump to content

Recommended Posts

Posted (edited)

I love this program for batch files sure makes things easier. Here are the things im running into.

I have the version 2.6.1.0

1) When i go to update database it says cannot create file "c:\program files\runonceex.cmd creator\". The system cant not find specified path. i left everything default during install any ideas?

2) When i do a databse add, on the first screen its set to %SystemDrive%\Install\ than i click database add, i enter in the program Symatec Corp 9. Now i know in the program field is says find path so should it be

%systemdrive%\install\Sav\setup\ or systemdrive%\install\Sav\setup\Symantec AntiVirus.msi\ and do i need the " This is my finished product.

@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 "Symantec Antivirus Corporate 9" /f

REG ADD %KEY%\000 /V 1 /D "%PP%%systemdrive%\install\Sav\setup\"Symantec AntiVirus.msi\" /qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /f

EXIT

When looking at others they dont have the %pp% in them.

3) Plus when saving them it asks me to save them again on exit any idea on that?

Edited by bodybags

Posted

Ok i feel kinda new but figured out why it was different pp points to the default directory. But anyway still need help with 1 and 3 please.

Posted (edited)

Seriously! Whew! The %PP% is there so u don't need to put in the %systemdrive%\Install !

When there is a command "SET xx=asdfgh"

u can type anywhere in the batch %xx% instead of asdfgh as the batch will translate %xx% as asdfgh because of how xx was set as asdfgh.

This is the correct code.

REG ADD %KEY%\000 /V 1 /D "\"%PP%\Sav\setup\Symantec AntiVirus.msi\" /qn RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" /f

As to 3) obviously because u edited it between saving it and exiting.

And this forum requires a more detailed title than "Questions please help". (as so aptly put by Takeshi)

Edited by T D
Posted

No on question 3 is i didnt change at all. I added the the database than clicked saved than exit. I did no changes between it. So it must be wanting me to save it twice. but thanks for reply.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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