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
- :
- Accessing ADDLOCAL within User Interface Sequence
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
‎Apr 29, 2008
02:32 AM
Accessing ADDLOCAL within User Interface Sequence
Dear all!
I'm having some problems accessing the ADDLOCAL variable to display a list of the selected features in the ReadyToInstall dialog... ADDLOCAL seems to be null at that time...
I actually thought that it should be available after the CostFinalize Action of the UI Sequence...
Is there any other way to get the list of selected features or am I doing something wrong?
Thanks a lot for your help!
Michael
I'm having some problems accessing the ADDLOCAL variable to display a list of the selected features in the ReadyToInstall dialog... ADDLOCAL seems to be null at that time...
I actually thought that it should be available after the CostFinalize Action of the UI Sequence...
Is there any other way to get the list of selected features or am I doing something wrong?
Thanks a lot for your help!
Michael
3 Replies

Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 29, 2008
08:21 AM
Are you setting the ADDLOCAL property? Unless you specifically set it then it would not have a value. Normally, in the SetupType dialog, we set ADDLOCAL=ALL if you select the Complete/Normal option. The only time we wouldn't set it is if you select the "Custom" option.
If you have modified your dialogs; however, this may not be relevant.
If ADDLOCAL is not set then the default feature behavior will be based on the Install Level of the feature vs. the INSTALLLEVEL property.
If you have modified your dialogs; however, this may not be relevant.
If ADDLOCAL is not set then the default feature behavior will be based on the Install Level of the feature vs. the INSTALLLEVEL property.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 29, 2008
11:32 AM
Dear Bryan!
I'm not yet familiar with the INSTALLLEVEL property (i'm really a newbie)...
However I'd like to explain my problem again perhaps you can give me some adivces or explain me what I'm getting wrong:
I'd like to prompt a message box (within the ReadyToInstall dialog) with all the features the user has previously selected (within the CustomSetup dialog). Here's what I did so far:
So, what I expect from the above steps is, that as soon as the user clicks on the button, it should display all the features previously selected (e.g. "Feature1, Feature3, Feature7").
What am I doing wrong?
I'd really appreciate your help!
Michael
I'm not yet familiar with the INSTALLLEVEL property (i'm really a newbie)...
However I'd like to explain my problem again perhaps you can give me some adivces or explain me what I'm getting wrong:
I'd like to prompt a message box (within the ReadyToInstall dialog) with all the features the user has previously selected (within the CustomSetup dialog). Here's what I did so far:
1. I created the following Custom Action:
2. I created a button on the ReadyToInstall dialog and assigned it the Custom Action above.
MsiGetProperty( hMSI, "ADDLOCAL", output, iLen );
MessageBox(output,INFORMATION);
2. I created a button on the ReadyToInstall dialog and assigned it the Custom Action above.
So, what I expect from the above steps is, that as soon as the user clicks on the button, it should display all the features previously selected (e.g. "Feature1, Feature3, Feature7").
What am I doing wrong?
I'd really appreciate your help!
Michael

Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 05, 2008
10:58 PM
You might want to try creating a log file and look at the value of the ADDLOCAL property in the log. This will explain why the behavior isn't working as you expect.
See here for more information on creating a log file:
http://kb.acresso.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q104807&sliceId=1&docTypeID=DT_HOWTO_1_1&dialogID=12661749&stateId=0
See here for more information on creating a log file:
http://kb.acresso.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q104807&sliceId=1&docTypeID=DT_HOWTO_1_1&dialogID=12661749&stateId=0
