Re: [WiX-users] "Asia" error

2013-06-20 Thread Pally Sandher
FYI I bug reported this back in August 2012 -> 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=3557976&group_id=105970

Palbinder Sandher 
Software Platform Engineer 
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com 

**Design, Simulate + Innovate with the ** 
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 



-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: 15 June 2013 15:58
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] "Asia" error

Sure. The documentation is built from src\chm. If there is an improvement in 
there we can make, feel free to submit a pull request.  If you don't actually 
want to fix the issue, you can open a bug and wait for someone else to get 
around to it.


On Sat, Jun 15, 2013 at 12:34 AM, Simon Stevenson  wrote:

> Ok. In the meantime could the docs be updated to note that the exit 
> code will get remapped as a HRESULT to be presented to the user?
>
> -Original Message-
> From: Rob Mensching [mailto:r...@robmensching.com]
> Sent: Saturday, 15 June 2013 09:22
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] "Asia" error
>
> The wixstdba doesn't provide such a mechanism today. You could write a 
> custom BA to do it, or work with wix-devs to enhance the wixstdba to 
> handle the scenario.
>
>
> On Thu, Jun 13, 2013 at 11:37 PM, Simon Stevenson 
> wrote:
>
> > 5100 is "General setup block", commonly we see it for a missing 
> > prerequisite (
> >
> > http://blogs.msdn.com/b/astebner/archive/2006/11/28/return-codes-for
> > -n
> > et-framework-3-0-setup.aspx
> > )
> >
> > The problem is that at some point it re-maps the exit code to a 
> > HRESULT, which gives a nonsensical error: http://imgur.com/L4UPcDO
> >
> > So my question is, why/how is the exit code being remapped?
> >
> > I first thought that maybe it was because I wasn't using the netfx4 
> > protocol, but changing that had no effect. My package is as follows:
> >   > DisplayName="Microsoft .Net 4 Client Framework"
> > InstallCommand="/q /norestart /ChainingPackage
> "[WixBundleName]""
> > RepairCommand="/q /norestart /repair /ChainingPackage 
> > "[WixBundleName]""
> > PerMachine="yes"
> > DetectCondition="NETFRAMEWORK40CLIENT"
> > Id="NetFx40ClientRedist"
> > Vital="yes"
> > Permanent="yes"
> > Protocol="netfx4"
> > Name="embed\SupportFiles\dotNetFx40_Client_x86_x64.exe">
> >   > Behavior="forceReboot"/>  > Behavior="forceReboot"/>   
> > 
> >
> > It seems for the other values, they correctly map to HRESULTS that 
> > have strings of the same meaning. But wouldn't any program that uses 
> > custom exit codes mean that the error messages wouldn't match either?
> >
> > Is there any way I can specify the string for the error myself?
> >
> >
> >
> > On 13 June 2013 21:24, Ogrodowski, Sabine (ehem. Frauenhoffer) < 
> > sabine.ogrodow...@haufe-lexware.com> wrote:
> >
> > > I usually received this message on windows server 2003 when the 
> > > windows imaging component is missing...
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Rob Mensching [mailto:r...@robmensching.com]
> > > Gesendet: Mittwoch, 12. Juni 2013 16:19
> > > An: General discussion for Windows Installer XML toolset.
> > > Betreff: Re: [WiX-users] "Asia" error
> > >
> > > IIRC, 5100 was their return code for restart required or something?
> > > They had some very strange return codes for a while. They are 
> > > documented somewhere on MSDN, IIRC... but never easy to find.
> > >
> > >
> > > On Wed, Jun 12, 2013 at 3:56 AM, Simon Stevenson 
> > > 
> > > wrote:
> > >
> > > > We are getting an error in some cases where we are installing 
> > > > .net 4, and the user is presented with the message "Asia". After 
> > > > some investigation it seems that the .net installer is returning 
> > > > exit code 5100, but it is somehow being interpreted as a HRESULT 
> > > > which happens to be the string "Asia".
> > > >
> > > > Has anyone seen this behaviour or have any idea why this is
> happeni

Re: [WiX-users] "Asia" error

2013-06-15 Thread Rob Mensching
Sure. The documentation is built from src\chm. If there is an improvement
in there we can make, feel free to submit a pull request.  If you don't
actually want to fix the issue, you can open a bug and wait for someone
else to get around to it.


On Sat, Jun 15, 2013 at 12:34 AM, Simon Stevenson  wrote:

> Ok. In the meantime could the docs be updated to note that the exit code
> will get remapped as a HRESULT to be presented to the user?
>
> -Original Message-
> From: Rob Mensching [mailto:r...@robmensching.com]
> Sent: Saturday, 15 June 2013 09:22
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] "Asia" error
>
> The wixstdba doesn't provide such a mechanism today. You could write a
> custom BA to do it, or work with wix-devs to enhance the wixstdba to handle
> the scenario.
>
>
> On Thu, Jun 13, 2013 at 11:37 PM, Simon Stevenson 
> wrote:
>
> > 5100 is "General setup block", commonly we see it for a missing
> > prerequisite (
> >
> > http://blogs.msdn.com/b/astebner/archive/2006/11/28/return-codes-for-n
> > et-framework-3-0-setup.aspx
> > )
> >
> > The problem is that at some point it re-maps the exit code to a
> > HRESULT, which gives a nonsensical error: http://imgur.com/L4UPcDO
> >
> > So my question is, why/how is the exit code being remapped?
> >
> > I first thought that maybe it was because I wasn't using the netfx4
> > protocol, but changing that had no effect. My package is as follows:
> >   > DisplayName="Microsoft .Net 4 Client Framework"
> > InstallCommand="/q /norestart /ChainingPackage
> "[WixBundleName]""
> > RepairCommand="/q /norestart /repair /ChainingPackage
> > "[WixBundleName]""
> > PerMachine="yes"
> > DetectCondition="NETFRAMEWORK40CLIENT"
> > Id="NetFx40ClientRedist"
> > Vital="yes"
> > Permanent="yes"
> > Protocol="netfx4"
> > Name="embed\SupportFiles\dotNetFx40_Client_x86_x64.exe">
> >   > Behavior="forceReboot"/>  > Behavior="forceReboot"/>  
> > 
> >
> > It seems for the other values, they correctly map to HRESULTS that
> > have strings of the same meaning. But wouldn't any program that uses
> > custom exit codes mean that the error messages wouldn't match either?
> >
> > Is there any way I can specify the string for the error myself?
> >
> >
> >
> > On 13 June 2013 21:24, Ogrodowski, Sabine (ehem. Frauenhoffer) <
> > sabine.ogrodow...@haufe-lexware.com> wrote:
> >
> > > I usually received this message on windows server 2003 when the
> > > windows imaging component is missing...
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Rob Mensching [mailto:r...@robmensching.com]
> > > Gesendet: Mittwoch, 12. Juni 2013 16:19
> > > An: General discussion for Windows Installer XML toolset.
> > > Betreff: Re: [WiX-users] "Asia" error
> > >
> > > IIRC, 5100 was their return code for restart required or something?
> > > They had some very strange return codes for a while. They are
> > > documented somewhere on MSDN, IIRC... but never easy to find.
> > >
> > >
> > > On Wed, Jun 12, 2013 at 3:56 AM, Simon Stevenson 
> > > wrote:
> > >
> > > > We are getting an error in some cases where we are installing .net
> > > > 4, and the user is presented with the message "Asia". After some
> > > > investigation it seems that the .net installer is returning exit
> > > > code 5100, but it is somehow being interpreted as a HRESULT which
> > > > happens to be the string "Asia".
> > > >
> > > > Has anyone seen this behaviour or have any idea why this is
> happening?
> > > >
> > > >
> > > > --
> > > > 
> > > >  This SF.net email is sponsored by Windows:
> > > >
> > > > Build for Windows Store.
> > > >
> > > > http://p.sf.net/sfu/windows-dev2dev
> > > > ___
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > > >
> > >
> > >
> > 

Re: [WiX-users] "Asia" error

2013-06-15 Thread Simon Stevenson
Ok. In the meantime could the docs be updated to note that the exit code will 
get remapped as a HRESULT to be presented to the user?

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Saturday, 15 June 2013 09:22
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] "Asia" error

The wixstdba doesn't provide such a mechanism today. You could write a custom 
BA to do it, or work with wix-devs to enhance the wixstdba to handle the 
scenario.


On Thu, Jun 13, 2013 at 11:37 PM, Simon Stevenson  wrote:

> 5100 is "General setup block", commonly we see it for a missing 
> prerequisite (
>
> http://blogs.msdn.com/b/astebner/archive/2006/11/28/return-codes-for-n
> et-framework-3-0-setup.aspx
> )
>
> The problem is that at some point it re-maps the exit code to a 
> HRESULT, which gives a nonsensical error: http://imgur.com/L4UPcDO
>
> So my question is, why/how is the exit code being remapped?
>
> I first thought that maybe it was because I wasn't using the netfx4 
> protocol, but changing that had no effect. My package is as follows:
>   DisplayName="Microsoft .Net 4 Client Framework"
> InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]""
> RepairCommand="/q /norestart /repair /ChainingPackage 
> "[WixBundleName]""
> PerMachine="yes"
> DetectCondition="NETFRAMEWORK40CLIENT"
> Id="NetFx40ClientRedist"
> Vital="yes"
> Permanent="yes"
> Protocol="netfx4"
> Name="embed\SupportFiles\dotNetFx40_Client_x86_x64.exe">
>   Behavior="forceReboot"/>  Behavior="forceReboot"/>   
> 
>
> It seems for the other values, they correctly map to HRESULTS that 
> have strings of the same meaning. But wouldn't any program that uses 
> custom exit codes mean that the error messages wouldn't match either?
>
> Is there any way I can specify the string for the error myself?
>
>
>
> On 13 June 2013 21:24, Ogrodowski, Sabine (ehem. Frauenhoffer) < 
> sabine.ogrodow...@haufe-lexware.com> wrote:
>
> > I usually received this message on windows server 2003 when the 
> > windows imaging component is missing...
> >
> > -Ursprüngliche Nachricht-
> > Von: Rob Mensching [mailto:r...@robmensching.com]
> > Gesendet: Mittwoch, 12. Juni 2013 16:19
> > An: General discussion for Windows Installer XML toolset.
> > Betreff: Re: [WiX-users] "Asia" error
> >
> > IIRC, 5100 was their return code for restart required or something? 
> > They had some very strange return codes for a while. They are 
> > documented somewhere on MSDN, IIRC... but never easy to find.
> >
> >
> > On Wed, Jun 12, 2013 at 3:56 AM, Simon Stevenson 
> > wrote:
> >
> > > We are getting an error in some cases where we are installing .net 
> > > 4, and the user is presented with the message "Asia". After some 
> > > investigation it seems that the .net installer is returning exit 
> > > code 5100, but it is somehow being interpreted as a HRESULT which 
> > > happens to be the string "Asia".
> > >
> > > Has anyone seen this behaviour or have any idea why this is happening?
> > >
> > >
> > > --
> > > 
> > >  This SF.net email is sponsored by Windows:
> > >
> > > Build for Windows Store.
> > >
> > > http://p.sf.net/sfu/windows-dev2dev
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> --
> 
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> --
> 
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > ___
> > WiX-users mailing list
> > WiX-users@lists.s

Re: [WiX-users] "Asia" error

2013-06-15 Thread Simon Stevenson
Technically you can install .NET 4 on XP SP2 if you install MSI and WIC
updates first (which we do), in this case the error code means you don't
have the prerequisites... but I'm not sure if you would get the same error
on SP1 to say that it's just plain not possible.

-Original Message-
From: Rob Diaz [mailto:rob.d...@msxgroup.com] 
Sent: Saturday, 15 June 2013 09:54
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] "Asia" error

I actually just encountered this today! Haven't determined it with certainty
but I believe the issue arose because the user attempted to install on
windows XP sp2 and .net 4.0 requires sp3. Not easy to diagnose with
certainty though.

Sent from my Windows Phone

From: Rob Mensching<mailto:r...@robmensching.com>
Sent: ‎6/‎14/‎2013 7:26 PM
To: General discussion for Windows Installer XML
toolset.<mailto:wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] "Asia" error

The wixstdba doesn't provide such a mechanism today. You could write a
custom BA to do it, or work with wix-devs to enhance the wixstdba to handle
the scenario.


On Thu, Jun 13, 2013 at 11:37 PM, Simon Stevenson  wrote:

> 5100 is "General setup block", commonly we see it for a missing 
> prerequisite (
>
> http://blogs.msdn.com/b/astebner/archive/2006/11/28/return-codes-for-n
> et-framework-3-0-setup.aspx
> )
>
> The problem is that at some point it re-maps the exit code to a 
> HRESULT, which gives a nonsensical error: http://imgur.com/L4UPcDO
>
> So my question is, why/how is the exit code being remapped?
>
> I first thought that maybe it was because I wasn't using the netfx4 
> protocol, but changing that had no effect. My package is as follows:
>   DisplayName="Microsoft .Net 4 Client Framework"
> InstallCommand="/q /norestart /ChainingPackage
"[WixBundleName]""
> RepairCommand="/q /norestart /repair /ChainingPackage 
> "[WixBundleName]""
> PerMachine="yes"
> DetectCondition="NETFRAMEWORK40CLIENT"
> Id="NetFx40ClientRedist"
> Vital="yes"
> Permanent="yes"
> Protocol="netfx4"
> Name="embed\SupportFiles\dotNetFx40_Client_x86_x64.exe">
>   Behavior="forceReboot"/>  Behavior="forceReboot"/>   
> 
>
> It seems for the other values, they correctly map to HRESULTS that 
> have strings of the same meaning. But wouldn't any program that uses 
> custom exit codes mean that the error messages wouldn't match either?
>
> Is there any way I can specify the string for the error myself?
>
>
>
> On 13 June 2013 21:24, Ogrodowski, Sabine (ehem. Frauenhoffer) < 
> sabine.ogrodow...@haufe-lexware.com> wrote:
>
> > I usually received this message on windows server 2003 when the 
> > windows imaging component is missing...
> >
> > -Ursprüngliche Nachricht-
> > Von: Rob Mensching [mailto:r...@robmensching.com]
> > Gesendet: Mittwoch, 12. Juni 2013 16:19
> > An: General discussion for Windows Installer XML toolset.
> > Betreff: Re: [WiX-users] "Asia" error
> >
> > IIRC, 5100 was their return code for restart required or something? 
> > They had some very strange return codes for a while. They are 
> > documented somewhere on MSDN, IIRC... but never easy to find.
> >
> >
> > On Wed, Jun 12, 2013 at 3:56 AM, Simon Stevenson 
> > wrote:
> >
> > > We are getting an error in some cases where we are installing .net 
> > > 4, and the user is presented with the message "Asia". After some 
> > > investigation it seems that the .net installer is returning exit 
> > > code 5100, but it is somehow being interpreted as a HRESULT which 
> > > happens to be the string "Asia".
> > >
> > > Has anyone seen this behaviour or have any idea why this is happening?
> > >
> > >
> > > --
> > > 
> > >  This SF.net email is sponsored by Windows:
> > >
> > > Build for Windows Store.
> > >
> > > http://p.sf.net/sfu/windows-dev2dev
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> --
> 
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
&g

Re: [WiX-users] "Asia" error

2013-06-14 Thread Rob Diaz
I actually just encountered this today! Haven't determined it with certainty 
but I believe the issue arose because the user attempted to install on windows 
XP sp2 and .net 4.0 requires sp3. Not easy to diagnose with certainty though.

Sent from my Windows Phone

From: Rob Mensching<mailto:r...@robmensching.com>
Sent: ‎6/‎14/‎2013 7:26 PM
To: General discussion for Windows Installer XML 
toolset.<mailto:wix-users@lists.sourceforge.net>
Subject: Re: [WiX-users] "Asia" error

The wixstdba doesn't provide such a mechanism today. You could write a
custom BA to do it, or work with wix-devs to enhance the wixstdba to handle
the scenario.


On Thu, Jun 13, 2013 at 11:37 PM, Simon Stevenson  wrote:

> 5100 is "General setup block", commonly we see it for a missing
> prerequisite (
>
> http://blogs.msdn.com/b/astebner/archive/2006/11/28/return-codes-for-net-framework-3-0-setup.aspx
> )
>
> The problem is that at some point it re-maps the exit code to a HRESULT,
> which gives a nonsensical error: http://imgur.com/L4UPcDO
>
> So my question is, why/how is the exit code being remapped?
>
> I first thought that maybe it was because I wasn't using the netfx4
> protocol, but changing that had no effect. My package is as follows:
> 
>  InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]""
> RepairCommand="/q /norestart /repair /ChainingPackage
> "[WixBundleName]""
> PerMachine="yes"
> DetectCondition="NETFRAMEWORK40CLIENT"
> Id="NetFx40ClientRedist"
> Vital="yes"
> Permanent="yes"
> Protocol="netfx4"
> Name="embed\SupportFiles\dotNetFx40_Client_x86_x64.exe">
> 
> 
> 
> 
> 
> 
>
> It seems for the other values, they correctly map to HRESULTS that have
> strings of the same meaning. But wouldn't any program that uses custom exit
> codes mean that the error messages wouldn't match either?
>
> Is there any way I can specify the string for the error myself?
>
>
>
> On 13 June 2013 21:24, Ogrodowski, Sabine (ehem. Frauenhoffer) <
> sabine.ogrodow...@haufe-lexware.com> wrote:
>
> > I usually received this message on windows server 2003 when the windows
> > imaging component is missing...
> >
> > -Ursprüngliche Nachricht-
> > Von: Rob Mensching [mailto:r...@robmensching.com]
> > Gesendet: Mittwoch, 12. Juni 2013 16:19
> > An: General discussion for Windows Installer XML toolset.
> > Betreff: Re: [WiX-users] "Asia" error
> >
> > IIRC, 5100 was their return code for restart required or something? They
> > had some very strange return codes for a while. They are documented
> > somewhere on MSDN, IIRC... but never easy to find.
> >
> >
> > On Wed, Jun 12, 2013 at 3:56 AM, Simon Stevenson 
> > wrote:
> >
> > > We are getting an error in some cases where we are installing .net 4,
> > > and the user is presented with the message "Asia". After some
> > > investigation it seems that the .net installer is returning exit code
> > > 5100, but it is somehow being interpreted as a HRESULT which happens
> > > to be the string "Asia".
> > >
> > > Has anyone seen this behaviour or have any idea why this is happening?
> > >
> > >
> > > --
> > >  This SF.net email is sponsored by Windows:
> > >
> > > Build for Windows Store.
> > >
> > > http://p.sf.net/sfu/windows-dev2dev
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> --
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> --
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
>

Re: [WiX-users] "Asia" error

2013-06-14 Thread Rob Mensching
The wixstdba doesn't provide such a mechanism today. You could write a
custom BA to do it, or work with wix-devs to enhance the wixstdba to handle
the scenario.


On Thu, Jun 13, 2013 at 11:37 PM, Simon Stevenson  wrote:

> 5100 is "General setup block", commonly we see it for a missing
> prerequisite (
>
> http://blogs.msdn.com/b/astebner/archive/2006/11/28/return-codes-for-net-framework-3-0-setup.aspx
> )
>
> The problem is that at some point it re-maps the exit code to a HRESULT,
> which gives a nonsensical error: http://imgur.com/L4UPcDO
>
> So my question is, why/how is the exit code being remapped?
>
> I first thought that maybe it was because I wasn't using the netfx4
> protocol, but changing that had no effect. My package is as follows:
> 
>  InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]""
> RepairCommand="/q /norestart /repair /ChainingPackage
> "[WixBundleName]""
> PerMachine="yes"
> DetectCondition="NETFRAMEWORK40CLIENT"
> Id="NetFx40ClientRedist"
> Vital="yes"
> Permanent="yes"
> Protocol="netfx4"
> Name="embed\SupportFiles\dotNetFx40_Client_x86_x64.exe">
> 
> 
> 
> 
> 
> 
>
> It seems for the other values, they correctly map to HRESULTS that have
> strings of the same meaning. But wouldn't any program that uses custom exit
> codes mean that the error messages wouldn't match either?
>
> Is there any way I can specify the string for the error myself?
>
>
>
> On 13 June 2013 21:24, Ogrodowski, Sabine (ehem. Frauenhoffer) <
> sabine.ogrodow...@haufe-lexware.com> wrote:
>
> > I usually received this message on windows server 2003 when the windows
> > imaging component is missing...
> >
> > -Ursprüngliche Nachricht-
> > Von: Rob Mensching [mailto:r...@robmensching.com]
> > Gesendet: Mittwoch, 12. Juni 2013 16:19
> > An: General discussion for Windows Installer XML toolset.
> > Betreff: Re: [WiX-users] "Asia" error
> >
> > IIRC, 5100 was their return code for restart required or something? They
> > had some very strange return codes for a while. They are documented
> > somewhere on MSDN, IIRC... but never easy to find.
> >
> >
> > On Wed, Jun 12, 2013 at 3:56 AM, Simon Stevenson 
> > wrote:
> >
> > > We are getting an error in some cases where we are installing .net 4,
> > > and the user is presented with the message "Asia". After some
> > > investigation it seems that the .net installer is returning exit code
> > > 5100, but it is somehow being interpreted as a HRESULT which happens
> > > to be the string "Asia".
> > >
> > > Has anyone seen this behaviour or have any idea why this is happening?
> > >
> > >
> > > --
> > >  This SF.net email is sponsored by Windows:
> > >
> > > Build for Windows Store.
> > >
> > > http://p.sf.net/sfu/windows-dev2dev
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> --
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> --
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] "Asia" error

2013-06-13 Thread Simon Stevenson
5100 is "General setup block", commonly we see it for a missing
prerequisite (
http://blogs.msdn.com/b/astebner/archive/2006/11/28/return-codes-for-net-framework-3-0-setup.aspx
)

The problem is that at some point it re-maps the exit code to a HRESULT,
which gives a nonsensical error: http://imgur.com/L4UPcDO

So my question is, why/how is the exit code being remapped?

I first thought that maybe it was because I wasn't using the netfx4
protocol, but changing that had no effect. My package is as follows:









It seems for the other values, they correctly map to HRESULTS that have
strings of the same meaning. But wouldn't any program that uses custom exit
codes mean that the error messages wouldn't match either?

Is there any way I can specify the string for the error myself?



On 13 June 2013 21:24, Ogrodowski, Sabine (ehem. Frauenhoffer) <
sabine.ogrodow...@haufe-lexware.com> wrote:

> I usually received this message on windows server 2003 when the windows
> imaging component is missing...
>
> -Ursprüngliche Nachricht-
> Von: Rob Mensching [mailto:r...@robmensching.com]
> Gesendet: Mittwoch, 12. Juni 2013 16:19
> An: General discussion for Windows Installer XML toolset.
> Betreff: Re: [WiX-users] "Asia" error
>
> IIRC, 5100 was their return code for restart required or something? They
> had some very strange return codes for a while. They are documented
> somewhere on MSDN, IIRC... but never easy to find.
>
>
> On Wed, Jun 12, 2013 at 3:56 AM, Simon Stevenson 
> wrote:
>
> > We are getting an error in some cases where we are installing .net 4,
> > and the user is presented with the message "Asia". After some
> > investigation it seems that the .net installer is returning exit code
> > 5100, but it is somehow being interpreted as a HRESULT which happens
> > to be the string "Asia".
> >
> > Has anyone seen this behaviour or have any idea why this is happening?
> >
> >
> > --
> >  This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] "Asia" error

2013-06-13 Thread Ogrodowski, Sabine (ehem. Frauenhoffer)
I usually received this message on windows server 2003 when the windows imaging 
component is missing...

-Ursprüngliche Nachricht-
Von: Rob Mensching [mailto:r...@robmensching.com] 
Gesendet: Mittwoch, 12. Juni 2013 16:19
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] "Asia" error

IIRC, 5100 was their return code for restart required or something? They had 
some very strange return codes for a while. They are documented somewhere on 
MSDN, IIRC... but never easy to find.


On Wed, Jun 12, 2013 at 3:56 AM, Simon Stevenson  wrote:

> We are getting an error in some cases where we are installing .net 4, 
> and the user is presented with the message "Asia". After some 
> investigation it seems that the .net installer is returning exit code 
> 5100, but it is somehow being interpreted as a HRESULT which happens 
> to be the string "Asia".
>
> Has anyone seen this behaviour or have any idea why this is happening?
>
>
> --
>  This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] "Asia" error

2013-06-12 Thread Rob Mensching
IIRC, 5100 was their return code for restart required or something? They
had some very strange return codes for a while. They are documented
somewhere on MSDN, IIRC... but never easy to find.


On Wed, Jun 12, 2013 at 3:56 AM, Simon Stevenson  wrote:

> We are getting an error in some cases where we are installing .net 4,
> and the user is presented with the message "Asia". After some
> investigation it seems that the .net installer is returning exit code
> 5100, but it is somehow being interpreted as a HRESULT which happens
> to be the string "Asia".
>
> Has anyone seen this behaviour or have any idea why this is happening?
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] "Asia" error

2013-06-12 Thread Simon Stevenson
We are getting an error in some cases where we are installing .net 4,
and the user is presented with the message "Asia". After some
investigation it seems that the .net installer is returning exit code
5100, but it is somehow being interpreted as a HRESULT which happens
to be the string "Asia".

Has anyone seen this behaviour or have any idea why this is happening?

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users