Video Screencast Help
Search Video Help Close Back
to help

32bit & 64 Bit validation

Created: 12 Jul 2012 | 2 comments
sathish046's picture
0 0 Votes
Login to vote

Hi,

 

I want to know how you done 32 bit package prerequistic validation in 64 bit pc...

 

In my product i developed only for 32 bit pc, but some peoples used this package in  64 bit pc....

Now i want to know how prerequistic validation in 64 bit pc...

i check prerequistic using registry value (uninstallion string value), it's differ from 32 bit framework 2.0 and 64 bit framewrok 2.0...

How i ill solve this?

 

Thanx for your reply

Comments 2 CommentsJump to latest comment

piyushnasa's picture

64 Bit windows support 32 bit installers and allow them to be installed and work fine. The only thing you need to check in 32 bit installers is that there is no hard coding of paths.

%programfiles(x86)% in 64 bit is the equivalent of %programfiles% in 32 bit windows.

For registry HKLM\Software\Wow6432Node in 64 bit is equivalant to HKLM\Software in 32 bit.

You need to check this hive.

If you do not want your installer to install on 64 bit machine then you need to write a code.

Refer these two posts in my blog or thier equivalent here in symantec for more details:

http://msiworld.blogspot.com.au/2012/04/vbscript-to-determine-32-bit-or-64-bit.html

http://msiworld.blogspot.com.au/2011/09/creating-msi-for-x64-and-x86-machines.html

https://www-secure.symantec.com/connect/articles/vbscript-determine-32-bit-or-64-bit-machine

https://www-secure.symantec.com/connect/articles/creating-msi-x64-and-x86-machines

 

I have explained the registry and folder structure nicely in these articles.

Hope your query will be solved. Let me know if you need more information.

Cheers,

Piyush

Note: Mark the post as solved if your query is resolved. Give a thumbs up to the articles if you like them.

Piyush Nasa Altiris Certified Professional (ACP)

http://msiworld.blogspot.com/

+1
Login to vote
  • Actions
EdT's picture

Presumably your 32 bit packages have 32 bit pre-requisites, so there should be no issue with running on 64 bit systems as both your 32 bit packages and your 32 bit pre-requisites will be handled correctly by the 32 bit subsystem running on the 64 bit operating system.

You have not mentioned what version of Wise you are using, if any, but unless you have WPS8 MR1 then the wisescript editor is strictly 32 bit and will not easily give you a solution for checking 64 bit pre-requisites.

However, vbscript is able to work fully with both 32 bit and 64 bit operating systems, so you can use scripted custom actions in your MSI where necessary.

However, since MSI already has predefined properties such as VersionNT and VersionNT64, you can use these properties directly as conditions within your install to establish the target operating system without having to script this specifically.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

0
Login to vote
  • Actions