SQL Server Compact 3.5 SP2 has two MSI's-->32 and 64

for computers with 32--> Install only 32 MSI
For computer with 64 --> Install BOTH : 32 and 64 MSI

How can i create one MSI that will handle both cases?

Can i create a VBscript and include it inside the MSI, if so how?

Tool : InstallShield or Adminstudio
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
How can i create one MSI that will handle both cases? Hmmm...I wonder why, if that were possible, why Microsoft has 2 separate packages for their apps?

You'll need to build a wrapper to handle the OS test and then execute the appropriate MSI. For computer with 64 --> Install BOTH : 32 and 64 MSI I'm not at all sure whether you can install both 32-bit and 64-bit apps on a 64-bit host, I've never tried as I've never seen the point. Maybe it's just me...
Answered 04/06/2011 by: VBScab
Red Belt

Please log in to comment
0
Yes, that is posible....remember is Microsoft ...LOL, check the link it says you need 32 and 64 installed in a 64bit computer:

http://www.microsoft.com/downloads/en/details.aspx?familyid=E497988A-C93A-404C-B161-3A0B323DCE24&displaylang=en

VBScab, can you point me to some tutorial in how to build wrapper using instalshield?
Answered 04/06/2011 by: latino_packager
Senior Yellow Belt

Please log in to comment
0
ORIGINAL: latino_packager

How can i create one MSI that will handle both cases?



The answer is; you don't. For each version, create a MST if desired. If you're using SCCM or another management system, create a package for the x64 version and mark the x86 package as a dependancy.

If you're not running management software, one thing you could do is to create a wrapper that calls both MSI's and launch it on every system. You could add some logic to the wrapper like so:
If exist "C:\Program Files (x86)\" then you know it's a x64 system and can run the x64 MSI first.
Answered 04/20/2011 by: vjaneczko
Seventh Degree Black Belt

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