Re: [WiX-users] Detect Windows installer version...

2006-12-04 Thread Rod
This is exactly what I needed. Thanks !

Best regards,
Rod


Mike Dimmick wrote:
 This error is code 1723. It indicates that there was a problem running a
 custom action implemented in a DLL.
 
 In your case we're assuming that since it runs on one service pack but not
 another, that there's some dependency that a custom action relies on which
 isn't present on that version.
 
 I note that the SxsUninstallCA.DLL in the VC8 merge module uses the
 MsiEnumProductsEx API. (I extracted SxsUninstallCA from the Binary table of
 Microsoft_VC80_CRT_x86.msm using Orca and examined it using Depends.exe.)
 This API was added in Windows Installer 3.0, so version 3.0 is required for
 using the VC8 redistributable MSMs.
 
 You should set the Package/@InstallerVersion attribute to 300 to ensure that
 at least version 3.0 of Windows Installer is installed.



-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detect Windows installer version...

2006-12-02 Thread Rod
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detect Windows installer version...

2006-12-02 Thread Mike Dimmick
This error is code 1723. It indicates that there was a problem running a
custom action implemented in a DLL.

In your case we're assuming that since it runs on one service pack but not
another, that there's some dependency that a custom action relies on which
isn't present on that version.

I note that the SxsUninstallCA.DLL in the VC8 merge module uses the
MsiEnumProductsEx API. (I extracted SxsUninstallCA from the Binary table of
Microsoft_VC80_CRT_x86.msm using Orca and examined it using Depends.exe.)
This API was added in Windows Installer 3.0, so version 3.0 is required for
using the VC8 redistributable MSMs.

You should set the Package/@InstallerVersion attribute to 300 to ensure that
at least version 3.0 of Windows Installer is installed.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rod
Sent: 02 December 2006 16:36
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Detect Windows installer version...

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...).



-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Detect Windows installer version...

2006-12-01 Thread Rod
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detect Windows installer version...

2006-12-01 Thread Rob Mensching
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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users