I want when I install program, the setup will create the registry in: SOFTWARE\Wow6432Node\Publisher\App
with {app}
main location on 64-bit systems. And I want do same for 32bit in "32 bit" location but i don't know where it is. The setup will check version of Windows and create registry depending on the system.
相关问题
- Inno Setup - Run InstallUtil from .Net 4.5 Locatio
- Loading ntuser.dat with powershell
- Why does regasm /regfile seem incomplete?
- Create a REG_NONE empty value in the Windows Regis
- C# DWORD and QWORD - signed and unsigned madness
相关文章
- In inno setup how to set the unins000.exe with pro
- Set InstallPath registry key using Visual Studio S
- Is it possible to create checkbox tree view in Inn
- How to add a region drop-down in Inno Setup?
- Signing installer of my program generated by Inno
- How to check 64/32-bit in Inno setup
- Inno Setup - How to create checkboxes at finished
- Inno Setup - BorderIcons dropdown menu
You want to write to:
on 64-bit systems:
SOFTWARE\Wow6432Node
on 32-bit systems:
SOFTWARE
For that, you do not need to do anything special. Windows registry redirector handles that. It automatically redirects
SOFTWARE
toSOFTWARE\Wow6432Node
for 32-bit applications running on 64-bit systems. And Inno Setup installers are 32-bit applications.So a simple
[Registry]
section entry like below will do, what you want. No need for any 32-bit or 64-bit specific code:Of course, unless you use 64-bit installation mode.
See also Writing 32/64-bit specific registry key at the end of the installation in Inno Setup.