albedoConsulting Posted May 26, 2005 Share Posted May 26, 2005 I notice that all RunOnceEX examples seem to do the install and perhaps some reg stuff as a single RunOnceEx group, but then cleanup like deleting the desktop shortcut is done en mass later. I would like to be able to do cleanup as part of the install, for two reasons.1: I can create use the same few lines in another CMD to build a standaline installer.2: I can build different RunOnceEX.CMDs for different client types, and not need a Cleanup.CMD that covers everything.So, can this be done, and if so, why is it not common? Something along the lines of:REG ADD %KEY%\010 /VE /D "Mozilla Firefox" /fREG ADD %KEY%\010 /V 1 /D "msiexec.exe /i setup.msi /qb-" /fREG ADD %KEY%\010 /V 2 /D "Firefox_cleanup.cmd" /fThanks,Gordon 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