Old 15th March 2017, 12:31   #1
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 503
Send a message via ICQ to Pawel
Run 64 bit application via 32 bit installer/application

I would like to ask a simply quesion - is it possible to run 64 bit application via 32 bit installer/application (on 64 bit Windows)?

Let's say I have:

32Bit_Launcher.exe (32 bit installer or normal 32 bit application)
-> Run 32Bit_App.exe using CreateProcess()
-> Run 64Bit_App.exe using CreateProcess()

I tested it and it works fine. But should I know about something? Is there any potential problems with it? Launcher just create new process and check some INI options, read registry - nothing special...

Or maybe I should create 32 bit launcher for 32 bit applications and 64 bit launcher for 64 bit applications?

Could someone with programming skills explain it to me?

-Pawel
Pawel is offline   Reply With Quote
Old 15th March 2017, 12:43   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,473
It works correctly for most things, just remember that 32-bit apps don't see the real system32 directory etc. because of WOW64 redirection.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 15th March 2017, 12:59   #3
Pawel
Moderator
 
Pawel's Avatar
 
Join Date: Aug 2004
Location: Poland
Posts: 503
Send a message via ICQ to Pawel
Anders, thanks for fast reply.
Using only 32 bit launcher will help to make my project simpler
-Pawel
Pawel is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump