|
|
#1 |
|
Junior Member
Join Date: May 2012
Posts: 3
|
Hi,
I want have an english and frensh version for my installer, so do do that I use LangString for example: code: I want to use $(message) in function .onInit (but this don't work) so what can I do |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2012
Posts: 3
|
other question:
I use to adds file(s) output path ($INSTDIR).code: how can i delete installed files from $INSTDIR? |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2005
Posts: 115
|
Doesn't work in what way? You can use it in .oninit, I do in mine, and before you ask the user what language they want ( !insertmacro MUI_LANGDLL_DISPLAY ) it depends on the locale of the Windows installation. I tested for example with a German version of XP, before the selection dialogue it displays German message.
To delete a file is Delete, simple enough. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: May 2012
Posts: 3
|
code: I select english language but the message is always shown in frensh (because i use frensh verion of XP) and I want to list autaumatically installed files before deleting them without using delete "fileName" for every file |
|
|
|
|
|
#5 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
You cannot use language strings in .onInit, only after; e.g. you can use them in .onGUIInit (!define MUI_CUSTOMFUNCTION_GUIINIT myOnGUIInit) or in your first page's PRE function.
To generate a list of files to delete you can write a script to do it or write an NSIS executable to do it. Run it with !system then !include its output file. Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|