max
11-20-2003, 12:20 PM
I would like to have my uninstaller be able to do two different things depending on who is calling it. I know I can pop up a dialog and ask the user what to do if he/she is running the uninstaller (via add/remove programs for instance), but I would also like to have another program be able to call the uninstaller and pass it the option, so that the uninstaller doesnt have to ask the user any questions. I tried accessing
%SetupCmdLineArgs% from the uninstaller, but it does not seem to be getting anything in that variable.
Is there any way to do this?
%SetupCmdLineArgs% from the uninstaller, but it does not seem to be getting anything in that variable.
Is there any way to do this?