I'm sorry if I am on the wrong section and sorry for my English.
I'm using Installshield 2016 and creating a msi.
I've created a component which add a file .cer in the INSTALLDIR in order to install it in trusted authority. To do this, I have a custom action played during Installation. At the end of the Execute Sequence I delete the certificat by using an other custom action.
My problem: When I do a repair in user mode (no admin rights), the certificat is added again but cannot be deleted because users don't have rights to suppress files in C:.
So I wonder if there is a possibility to use a condition so my component can be played ONLY during first Install.
"... Support files are files that are available on the target system only during your product’s installation process...."
If you prefer a way with conditions, you would need to use "NOT Installed" as a condition for the Custom Actions and for the component with .CER file. Additionally you have to include Transitive attribute (0x0040) for the corresponding component so the condition is re-evaluated on repair (then component with .cer file won't be recreated on repair).
Another option is to use Transitive attribute (0x0040) together with AdminUser property as a component's condition. Then your component (and .cer file) will be installed ONLY when installation/repair is triggered by a user with administrator privileges.
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
efforts, please visit