snakesjc Posted May 20, 2005 Posted May 20, 2005 Hi, i know that is possible that it can be used runonceex and guirunonce together, but how can i make it, (i already have a cmd file, which i used batch commands... so i'd like to use both... at the same timei've been thinking to include the command line at the final of my batch file...like thisauto.cmdECHO Installing Adobe Reader 6.0start /wait %systemdrive%\progs\ACROBAT.exe -p"-s /v\"/qn\""ECHO Installed.ECHO The rest (runonceex file)start /wait %systemdrive%\progs\runoncefile.cmdECHO Installed.and the winnt.sif, is like this:[GuiRunOnce]%systemdrive%\updates\auto.cmdCan i make this?!Resuming: my winxp will execute the auto.cmd, so it has the updates and some programs... at the end of my batch file, it will execute the runonceex file... (i'd like to know if this is possible...)Thank you guys!
durex Posted May 20, 2005 Posted May 20, 2005 Why would you want to use both methods? Its typically recommended that you use one or the other... I recommend RunOnceEx personally.
snakesjc Posted May 20, 2005 Author Posted May 20, 2005 but, can i use batch commands using RunOnceEx method?! mixing both, but using RunOnceEX to execute my programs?! thank u durex! it sounds little strange, but, i´m asking u all ´cause i´m rookie...
Marthax Posted May 20, 2005 Posted May 20, 2005 It shouldn't be a problem. Sure you can use batch commands with RunOnceEx. It doesn't matter what you execute in there as long as windows knows how to run it, but I would agree with Durex. It's unnecessary to use both methods as one will do.
tguy Posted May 20, 2005 Posted May 20, 2005 I use batch files, vbscripts, and msi's in my RunOnceEx.cmd file. I have attached a copy for your reference.RunOnceEx.cmd
durex Posted May 20, 2005 Posted May 20, 2005 I would also recommend reading the following section of the UACD guide if you havent already.Good luck!
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