Hi,
We've made a setup wich contains following tasks:
- Creating an Account on the local machine (Using the Users and Groups feature of the installer)
- Configuring the neccesary privileges for the Account (Using ntrights.exe as attached custom action)
- Installing a windows service using the login credentials of the previously created account (Using the Services feature of the installer)
- Starting the service
The problem is, that the account is deleted and recreated (resulting in a new user profile directory) each time the user installs an upgrade. I've already tried to set the condition "(NOT ((OLDPRODUCTS) OR (UPGRADINGPRODUCTCODE)))" to the standard custom action "RegisterUser", but this seems not to work.
Has someone an idea how to prevent this effect?
Greetings
Bastian
FOLLOW US