Can anyone please explain what are the best practices while converting 32-bit application to 64-bit application?
0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


Your question is a little unclear because you preface it with 'repackaging' but you ask about converting an application.

If you're asking about modifying an MSI, there is nothing to do.  64-bit apps anticipate 32-bit apps to be installed and act accordingly.  If you're asking about converting the program, that implies changing the application code to work as a 64-bit app.  For that, you'll need to read more about programming.

Answered 06/22/2014 by: vjaneczko
Seventh Degree Black Belt

Please log in to comment



May be, you have to check few thing like :
-Template Summary is x64 not Intel64 in General Information. With this condition, the msi will never install on 32 bit.
- 64-Bit Component are select (yes) in the component option. This will be usefull for registries values set in the right hive.
- Use 64-Bit Scripting option in Custom Action, to get the good binary on the system folder
-Choose the property [ProgramFiles64Folder] for "C:\Program Files" (~ Programs) folder
- On the System Seach there is a option to select the 64 bit.

These are the main advices i remember to use.

Hope this help you.

Answered 06/23/2014 by: egiberne
Second Degree Brown Belt

  • Do I need to change installscript also for converting to 64-bit application?
    • I don't known to the Installscript. But you don't need to convert 32 bit app to 64 bit, this not necessary. This info are just to repack 64 bit apps.
Please log in to comment

You're not actually converting it to an X64 app. You are installing a 32 bit app onto a 64 bit OS.

Assuming you use the recommended approach of not hardcoding things, and have use the MSI properties for folders etc you don't actually have to do anything.

If you have been stringing one hardcoded script after another and then wrap that all up in an MSI, you might have some problems.


Answered 06/28/2014 by: Badger
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity