active setup not working
I am using two active setup's during installation and uninstallation. the reason is i have to place files in %appdata% during installation and delete them during uninstallation. i am installing it thourgh deployment tool using admin credentials. it works well duing installation ->uninstallation. If i reinstall the application and login to standard account my install active setup does not run. it runs uninstall active setup and all my files in appdata are deleted. the active setups are conditioned properly with Not installed and remove~=all. i am not able to figure out why during reinstalltion wrong active setup is executed. in HKLM key i see both listed.
any help would be much appriciated.
-
data cannot be left on the machine and it has to be deleted during uninstall. i am creating templates for office 2010 and 2013. other than appdata there is no other place where i can leave data which is compatible for both. - shekara 10 years ago
-
Do you mean custom actions and not active setup?? If you log in as a std user after 're installing' the Activesetup key would already be in that users profile, hence why it wont work 'again' - Badger 10 years ago
-
i have written custom actions separatively for install and uninstall. i had increment the active setup to make it work.. thankyou for al your support - shekara 10 years ago