0
votes

I have Wix Installer for my 32-bit Application i.e. it always set up the files in Program Files(x86). SO when the user installs it on the 32-bit machine I want to remove some of the dlls from it.

I am not registering any values in Registry and don't want to that way. Is there any other way than this?

1
Remove them from your installer so they're not put there in the first place. - Ken White
For this, I have to have a different installer for 64bit and 32 bit. - user6604405
You can have files installed only on one platform and not the other. - Ken White
Sorry. I was not knowing we can do that. Can you Share any link for example? Thank you :) - user6604405
You can search here for examples. It's part of the effort you're supposed to put into solving the problem yourself. - Ken White

1 Answers

0
votes

Yes, you do need separate MSI files for 32-bit and 64-bit, assuming that you have 64-code that you want to install and run. 32-bit apps will install on 64-bit systems and run in 32-bit mode, but it appears that you have 64-bit Dlls.

This is a good outline of why you need two installs:

https://blogs.msdn.microsoft.com/heaths/2008/01/15/different-packages-are-required-for-different-processor-architectures/

For example there are different folder locations such as ProgramFilesFolder for 32-bit program files and ProgramFiles64Folder for 64-bit setups.

and this link:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa367451(v=vs.85).aspx

points out that 32-bit packages can contain only 32-bit components, and 64-bit packages can contain 64-bit and some 32 bit components.