This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: CA on first install or in repair mode
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 22, 2010
01:47 AM
CA on first install or in repair mode
Hello,
How can I create a condition for my CA that would be launched during first time installation or in the repair mode?
First installation might be checked by "Not Installed".
Repair mode, however, is in the private property _IsMaintenance=Reinstall so I cannot access it directly in the deffered CAs. Is there other way to create such condition that could be set in "Custom Action and Sequences" window instead of passing values into CA via custom action data and processing it there?
If not, how can I check if the installation is a first time installation in the installscipt (property Installed is empty when I check it in UI seqence 😞 ) so I cannot create the condition inside the CA neither.
Is the "Installed" property somehow special?
Regards!
How can I create a condition for my CA that would be launched during first time installation or in the repair mode?
First installation might be checked by "Not Installed".
Repair mode, however, is in the private property _IsMaintenance=Reinstall so I cannot access it directly in the deffered CAs. Is there other way to create such condition that could be set in "Custom Action and Sequences" window instead of passing values into CA via custom action data and processing it there?
If not, how can I check if the installation is a first time installation in the installscipt (property Installed is empty when I check it in UI seqence 😞 ) so I cannot create the condition inside the CA neither.
Is the "Installed" property somehow special?
Regards!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 22, 2010
03:42 AM
Hi
I ended up with something setting up _IsMaintenance and MAINTENANCE properties via MsiSetProperty in UI immediate action then read them in differed CA checks
begin
if ((szIsMaintenance = "0") || (szMaintenanceMode="Reinstall")) then
...
endif;
end;
Is there a way to use CA condition text box for this purpose instead of implementing detection in the CA?
Regards!
I ended up with something setting up _IsMaintenance and MAINTENANCE properties via MsiSetProperty in UI immediate action then read them in differed CA checks
begin
if ((szIsMaintenance = "0") || (szMaintenanceMode="Reinstall")) then
...
endif;
end;
Is there a way to use CA condition text box for this purpose instead of implementing detection in the CA?
Regards!