Sep 29, 2022
12:27 PM
case # 02708752
installshield 2022 R1
InstallScript MSI project
Installer custom welcome dialog html control(szTermsAndConditions) set by ctrlsettext() is invisible in some low memory windows 2019 machines(2GB,4GB): If you use point to that black text and drag, the text will be shown. We run following code in DLG_INIT case in the dialog message loop: SprintfMsiLog("DisplayEULA is running!"); hFont = GetFont("MS Sans Serif", 9, STYLE_NORMAL); //LoadStringFromStringTable("TERMS_AND_CONDITIONS", szTermsAndConditions); szTermsAndConditions1 = "[html]<style type=\"text/css\">html,body {padding:0; margin:0; background-color:#F9F9F9} * {font-size: 9pt; font-family: \"MS Sans Serif\";} </style>"; szTermsAndConditions2 = "I agree to XXX's <a href=\" https://XXX.com/client/ui/redirect.aspx?where=csb-carbterms-en \">terms of service</a> and acknowledge Carbonite's <a href=\" https://XXX.com/client/ui/redirect.aspx?where=csb-privacypolicy-en \">privacy policy</a>."; szTermsAndConditions = szTermsAndConditions1 + szTermsAndConditions2; SprintfMsiLog("DisplayEULA term text: %s", szTermsAndConditions); CtrlSetFont("SdCustomWelcome",hFont,TERMS); CtrlSetText("SdCustomWelcome", TERMS, szTermsAndConditions); Log stopped at "DisplayEULA is running!" "DisplayEULA term text: %s" is not shown in log until go to next dialog or close this dialog. But on other working machines logs are same but the text is shown on dialog. I tried: 1.put the html text in dialog text property, 2.loading text form string table, 3.change font-family to Microsoft Sans Serif 4.Add font-display: swap; All attempts failed to work.
... View more
Latest posts by cssb-installer
Subject | Views | Posted |
---|---|---|
917 | Sep 29, 2022 12:27 PM |
Activity Feed
- Posted Re: InstallShield Triage and Preliminary Troubleshooting on InstallShield Knowledge Base. Sep 29, 2022 12:27 PM