Can I add a control on the dialog box with code?
for example. I want to add a Static Label on the installfiles dialog box and set its text to 'Installing...'.Can I add the label with code?
If I can.How to do that?
Thank you very much!!!!!
Can I add a control on the dialog box with code?
9 posts
How to store the variable value of Install Setup for Uninstall Setup?
for example.in install setup,$LANGUAGE is 1033.I want $LANGUAGE is still 1033 in uninstall setup.
for example.in install setup,$LANGUAGE is 1033.I want $LANGUAGE is still 1033 in uninstall setup.
Originally posted by lovespy108checkout the included example MultiLanguage.nsi under examples/Modern Ui
How to store the variable value of Install Setup for Uninstall Setup?
for example.in install setup,$LANGUAGE is 1033.I want $LANGUAGE is still 1033 in uninstall setup.
Re: Can I add a control on the dialog box with code?
Isn't it what you want?
Originally posted by lovespy108There's already a label on InstFiles page which you should be able to manage with SetDetailsPrint and DetailPrint.
Can I add a control on the dialog box with code?
for example. I want to add a Static Label on the installfiles dialog box and set its text to 'Installing...'.Can I add the label with code?
If I can.How to do that?
Thank you very much!!!!!
Isn't it what you want?
Originally posted by Red WineI don't want user to choose language in uninstall setup.
checkout the included example MultiLanguage.nsi under examples/Modern Ui
so I don't !insertmacro MUI_UNGETLANGUAGE.
I found if I do the following way.
Function un.onInit
StrCpy $LANGUAGE 1033
FunctionEnd
the uninstall setup will use English UI.
If StrCpy $LANGUAGE 2052,it will use Chinese UI.
So I want to define a virable in install setup to record the $LANGAUAGE value.Then I can use it in uninstall setup.
###install setup##
Var keepLanguageID
#################
Function un.onInit
StrCpy $LANGUAGE $keepLanguageID
FunctionEnd
The problem is how to keep $keepLanguageID's life cycle to un.onInit function!!
Well, did you really check the suggested example and the uninstaller pops up the select language dialog?
Re: Re: Can I add a control on the dialog box with code?
I want to enhance my script's removability,so I have a idea to add the Static Label on the installfiles page with API Function.But I don't know which function can realize that.
Originally posted by Red WineFor broadcasting background images,I changed the installfiles page to look like a banner with API functions.And added a Static Label on the page with "ResHacker.exe".
There's already a label on InstFiles page which you should be able to manage with SetDetailsPrint and DetailPrint.
Isn't it what you want?
I want to enhance my script's removability,so I have a idea to add the Static Label on the installfiles page with API Function.But I don't know which function can realize that.
Originally posted by Red WineThe example keep the $LANGUAGE for uninstaller in register table.
Well, did you really check the suggested example and the uninstaller pops up the select language dialog?
I don't want to use that way.If user deleted the register table manually.then uninstaller cannot get right value.
The only method for the uninstaller to know the selected language during installation is to read it somehow either from registry or from ini.
The suggested example automates this specific procedure for both installer and uninstaller.
The suggested example automates this specific procedure for both installer and uninstaller.