Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 19th May 2009, 19:28   #1
htome
Junior Member
 
Join Date: May 2009
Posts: 16
Best practices to create installer for app with 32-bit and 64-bit EXEs

Hi there,

Can anyone post a link or some good practices to follow when you need to create an installer for an application that has 32-bit and 64-bit EXEs?

Should we create one installer?

What about naming the EXEs? Should it be myapp.exe and myapp64.exe? or this is completely unecessary as they should be installed under "Program Files (x86)" and/or "Program Files" and have the same name.
htome is offline   Reply With Quote
Old 20th May 2009, 04:17   #2
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
I have not seen anything specific to this. I don't see any harm in having everything in one installation other than doing so may make the installation size a bit larger.

You can use the functions inside x64.nsh to determine if running on 64-bit to determine which EXEs to install. (Also, since NSIS is 32-bit, it will try to install things in the 32-bit locations unless you use ${DisableX64FSRedirection}--see the examples in x64.nsh)

As for naming the EXEs, nothing really special there. But perhaps from a troubleshooting standpoint, it might make it easy to see the name and know which file is which if the 64-bit version had "64" in the name somewhere.
Comperio 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