简体   繁体   中英

How to create 32-bit installation setup for 64-bit

I have created a few setups using NSIS 2.46(Editor HM NIS 2.0.3). My setup involves a few registry settings to be created under WriteRegStr HKCR "${PRODUCT_ROOT_CLSID} .

How do i handle my 32-bit setups to install and work properly on 64-bit systems?

如果您不想重定向到注册表的32位部分,请使用SetRegView

GetVersion::WindowsPlatformArchitecture
Pop $R1
${If} $R1 == "32"
   MessageBox MB_OK "32 bits"
${ElseIf} $R1 == "64"
   MessageBox MB_OK "64 bits"
${Endif}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM