albedoConsulting Posted May 26, 2005 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now