/build/static/layout/Breadcrumb_cap_w.png

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.


3 Comments   [ + ] Show comments
  • 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

Answers (3)

Posted by: anonymous_9363 10 years ago
Red Belt
1

Think!!! "If I reinstall the application" versus "conditioned properly with 'NOT Installed'"...

As usual, logging the scenarios would've pointed you in the right direction.

Posted by: jagadeish 10 years ago
Red Belt
1

You will have to write a custom action which will delete the uninstall ActiveSetup during reinstall/install if it exists.

Posted by: vjaneczko 10 years ago
9th Degree Black Belt
0

Remove the uninstall active setup.  Leave the files in %appdata% unless they contain sensitive data – and if they do, they shouldn’t be stored locally in the first place.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ