Single 32 bit WSI for 32 bit and 64 bit releases
Hi,
I will like to create a single 32 bit WSI file to manage two releases. One for 32 bit machines and another for 64 bit machines. These MSIs are very simple and all they have to do is extract a set of files under “C:\Program files” directory. 64 bit MSI must extract files under “C:\Program files” directory and not “C:\Program files(x86)” directory.
When I try to add files under Wise Installation studio 7.0 -> Installation Expert -> Files, It shows 2 program files directories for Destination computer
1. Program files
2. Program files (x86)
I think first program files corresponds to 64 bit area and 2’nd program files(x86) corresponds to 32 bit area.
If we add files under first category (i.e. Program files) and compile,
- 32 bit installer – on 32 bit machine, extracts these files on a separate drive ( “e:\” on my machine) and not the default program files directory (i.e. C:\Program Files).
- 64 bit installer – on 64 bit machine, extracts these files in default Program files directory (i.e. “C:\Program Files)
Whereas If we add files under second category, Program Files (x86)
- 32 bit installer – on 32 bit machine, extracts these files in default Program files directory ((i.e. “C:\Program Files)
- 64 bit installer – on 64 bit machine, extracts these files in 32 bit Program files directory (i.e. “C:\Program Files (x86))
If I add files to both, Program files as well as program files (x86) then MSI extracts files under “E:\” as well as “C:\Program files” on a 32 bit machine and “C:\Program files” as well as “C:\Program files(x86)” on a 64 bit machine. This is definitely not right.
I thought of using Features facility in order to create two custom features, one for 32 bit Processor and another which will get installed only on 64 bit machines.
In order to add files to be extracted, I opened Wise Installation studio -> Installation Expert -> Files and selected 32 bit feature and added files under program files (x86) directory.
Now I selected 64 bit feature and added files under Program Files destination directory.
After saving the WSI, both the file components started appearing in both the feature views. i.e. Files were present in Program files directory as well as program files (x86) directory under 32 bit feature as well as 64 bit feature. I am really not sure why this happened.
Is it not possible to use a single 32 bit WSI to extract a set of files strictly under “C:\Program files” directory on both the Machines (32 bit as well as 64 bit)?
Also, is it a standard practise to create a single WSI file for managing 32 bit and 64 bit releases?
I am new to Installation practices as well as Wise Installation Studio. Kindly pardon my ignorance.
I really appreciate your kind help.
Best Regards
KW
Combined solution not currently possible
Microsoft do not support a combined solution that can contain a 32 bit and a 64 bit install in a single MSI.
The simplest way around this would be to create two MSIs, and "package" these into an EXE installer which can then detect the target O/S, install the appropriate MSI into the temp folder, run it, then delete it to clean up.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Thanks EDT. Oh, So I can not
Thanks EDT.
Oh, So I can not use single ".WSI - Windows installer package file" to create two separate MSIs (one for 32 bit and another for 64 bit) that extracts files under "c:\program files" directory?
Is it a standard practise to create a two separate WSI files for 32 bit and 64 bit platforms?
I really appreciate your kind help.
Regards
KW
Different templates
When you start a new project, your selection of the "Windows Template" is also accompanied by a selection of the platform you intend to create your WSI for - the choices are 32 bit, X64 and 64 bit Itanium.
Consequently, you do need separate WSI files for each of these three target environments, and yes, it is standard practice.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Thanks EdT
I really appreciate your kind help.
Regards
KW
Mark as solution
Please use the "mark as solution" link if your question has been answered
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.