Hello,

Thanks a lot for your answer.

But... hmmm... I'm not sure my message clearly described my
problem.

The installed software runs on both WinXP SP1 and SP2 (provided
the VC8 runtime is there, and this is why I'm using the VC8 merge
modules).

Running the WiX installer (with those MSMs) succeeds on WinXP
SP2, but fails on SP1 (installation stops with the error message
I mentionned in my previous email).

The same installer without the VC8 merge modules runs on both
SP1 and SP2, so my guess is that the problem is related to
using the merge modules ; I suspect this is not supported on
WinXP SP1 unless the user upgrades Windows Installer (maybe
I'm wrong, I'm new to MSI stuff to be honest...).

So sure linking the VC8 Runtime statically would help (no need
to use the VC8 MSMs -> no installer problem anymore), but I
really do not like that solution (modify the installed software's
build process to workaround an installer issue) and that would
make the VC8 MSMs completely useless (which I doubt).

What I would like the installer to do is detect the version
of Windows Installer and if it's too old ask the user to upgrade.

Is this possible ?

Best regards,
Rod.


Rob Mensching wrote:
> Either statically link against the VC8 Runtime or move to a Runtime that is 
> available on all platforms you care about.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rod
> Sent: Friday, December 01, 2006 13:37
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Detect Windows installer version...
> 
> Hello,
> 
> I have trouble running my WiX installer on Windows XP SP1 (it runs fine
> on SP2). It fails with the following error message:
> "There is a problem with this Windows Installer package. A DLL required
>  for this install to complete could not be run. Contact your support
>  personnel or package vendor."
> 
> I tested a few different WiX-generated installers and I suspect the
> problem is related to:
> - the vc8-redistributable-dlls MSMs I "linked" with the installer
> - the Windows Installer version (IIRC, 2.1 on SP1, and 3.0 on SP2)
> 
> What is the best solution for this problem and how to implement
> it ? I tried to find info about how to detect the Windows
> Installer version but didn't find anything.
> 
> Thanks in advance,
> Rod
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to