cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
asinghal
Level 3

Custom property on SetupCompleteSuccess

We wanted to change text based on custom property on the finish dialog.
For some reason, the new text is not rendering even though the flag is not reset as per the installation logs.
Kindly help
Labels (1)
0 Kudos
(8) Replies
asinghal
Level 3

kindly guide regarding the above issue.

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @asinghal ,

Could you please explain your use case with detailed steps? 

Or share a sample ism to demonstrate the issue.

0 Kudos

During installation, we're calling a custom action which in turn calls an installscript function where we are setting a custom property/flag.

The same flag is used now during SetupCompleteSuccess dialog to show various text on the UI dialog.

Queries

1- To retain this property after the installscript engine, defining it as customsecureproperty is enough or do we need to add a custom action with a ui sequence?

2- Currently we are using both the options discussed above and the flag is retained after the installscript engine dies, still we believe the dialog is not reading the values correctly. Do we have the option to debug the conditions of the UI dialog?

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @asinghal ,

 Basic MSI project has its own error dialog named "SetupCompleteError", which will be displayed when the installation is failed, 

If you would like to show only different text on finish dialog, then you can add a condition to show this text, those condition or property should be set using your installscript code and verify it works or not.

Make sure the property used is a public property (All Caps EX: MYTEST).

Refer our  default finish dialog, which has multiple text and checkboxes added, each will be displayed as per the condition added in behavior section. 

0 Kudos

Yes, we tried similarly but somehow things are not working correctly for us.

text1 - visible:false and show:ISENABLEDWUSFINISHDIALOG  And CUST_INSTALLATION_FAILED="False" And NOT Installed And ACTION="INSTALL"

text2 - visible: false and show: CUST_INSTALLATION_FAILED="True"

Strangely both texts are visible, as per the installation logs the custom flag is set to true.

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @asinghal ,

 Could you please provide a sample test project to demonstrate the behavior. which will help us in debugging.

0 Kudos

Hi @varul 

It will take some time to give the sample project, in the meantime could you pls suggest any other option to conclude this?

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @asinghal ,

  As per my understanding, since its MSI project type, installshield wont have any control to change the font or changing it to bold text. because the message dialog box is shown as part of windows installer.

0 Kudos