|
|
|
|
#1 |
|
Senior Member
Join Date: Nov 2012
Posts: 166
|
The path to 32-bit applications on 64-bit OS
On the page there are three MUI_PAGE_COMPONENTS checkbox to select the three installation options:
32 bit application - in Windows x32 64 bit application - in Windows x64 32 bit application - in Windows x64 How can I, when you select 32-bit applications in Windows x64, receive InstallDir "$ PROGRAMFILES \ MyApp (Program Files (x86) \ MyApp - page MUI_PAGE_DIRECTORY) ? |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
$PROGRAMFILES is Program Files (x86) on 64-bit. You also have $PROGRAMFILES32 and $PROGRAMFILES64. Check the manual.
Stu |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2012
Posts: 166
|
Afrow UK
We need two versions of the installation in Windows X64... But ... The way to a 64-bit OS to 32-bit applications - not true ! Or vice versa: The path to 64-bit OS to 64-bit applications - not true ! My code: PHP Code:
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
I don't see what the problem is, just remove the pointless thing at the end of .onInit. You are also doing the if test wrong, it should be ${SF_SELECTED} = $R0 but you are lucky and getting away with it here...
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Nov 2012
Posts: 166
|
Again ...
1. In a 64-bit operating system runs the installer (in installer included: and 32, and 64 bit application) 2. The user selects (page PAGE_COMPONENTS) - install the 32 bit application in the 64bit OS ($ INSTDIR: $ PROGRAMFILES) or to install a 64-bit application in a 64-bit OS (($ INSTDIR: $ PROGRAMFILES64) 3. How do I get on the page PAGE_DIREKTORY the right way ? (depending on the choice of the checkbox) ? Give an example please ... |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|