cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Snoopstah
Level 7

SdLicense2Rtf not showing "ControlID_51" text

I have an installscript MSI project that displays the SdLicense2Rtf dialog. However, the ControlID_51 text is never displayed.

According to the dialogs view, it should show "Please read the following license agreement carefully."

How can I make this text appear?

My current code is:

szTitle = "Licence Agreement";
szOpt1 = "I accept the terms of the licence agreement";
szOpt2 = "I do not accept the terms of the licence agreement";
szLicenseFile = SUPPORTDIR ^ "licence agreement.rtf";
nResult = SdLicense2Rtf(szTitle, szOpt1, szOpt2, szLicenseFile, bvLicenseAccepted);
bvLicenseAccepted = (nResult = NEXT);

Labels (1)
0 Kudos
(1) Reply
Gvarma
Level 7

Snoopstah wrote:
I have an installscript MSI project that displays the SdLicense2Rtf dialog. However, the ControlID_51 text is never displayed.

According to the dialogs view, it should show "Please read the following license agreement carefully."

How can I make this text appear?

My current code is:

szTitle = "Licence Agreement";
szOpt1 = "I accept the terms of the licence agreement";
szOpt2 = "I do not accept the terms of the licence agreement";
szLicenseFile = SUPPORTDIR ^ "licence agreement.rtf";
nResult = SdLicense2Rtf(szTitle, szOpt1, szOpt2, szLicenseFile, bvLicenseAccepted);
bvLicenseAccepted = (nResult = NEXT);


Alison,

first make sure that you are deplying your "licence agreement.rtf" correctly in your SUPPORTDIR, then look into "licence agreement.rtf.rul" file, you might get an clue.

HTH

SdLicense2Rtf.rul
0 Kudos