Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-20 Thread Johan Appelgren
On 2/21/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
> Johan Appelgren wrote:
> >[candle] src\ext\uiextension\wixlib\FatalError.wxs(24) : error
> > CNDL0008 : The Control/@X attribute's value,
> > '!(wix.WixUIDialogBitmapWidth)', is not a legal integer value.  Legal
> > integer values are from -2,147,483,648 to 2,147,483,647.
> >
>
> Can you enter this as a bug? I need to dig into the code to see why it
> shouldn't be allowed. Especially given that it's a localizable column, I
> believe a bind-time variable should be supported.

Okey.

http://sourceforge.net/tracker/index.php?func=detail&aid=1664906&group_id=105970&atid=642714

-
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


Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-20 Thread Bob Arnson
Johan Appelgren wrote:
>[candle] src\ext\uiextension\wixlib\FatalError.wxs(24) : error
> CNDL0008 : The Control/@X attribute's value,
> '!(wix.WixUIDialogBitmapWidth)', is not a legal integer value.  Legal
> integer values are from -2,147,483,648 to 2,147,483,647.
>   

Can you enter this as a bug? I need to dig into the code to see why it 
shouldn't be allowed. Especially given that it's a localizable column, I 
believe a bind-time variable should be supported.

-- 
sig://boB
http://bobs.org



-
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


Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-19 Thread Johan Appelgren
On 2/20/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
> Johan Appelgren wrote:
> > I don't think WixVariables works for what I'm trying to do. If I try
> > to use a wix variable candle fails with an error that states that only
> > integers are valid values for the Control/@Width attribute. Could I be
> > doing this the wrong way somehow?
> >
>
> Could you show your syntax? If loc variables work, I'd expect bind-time
> variables to work too. BTW, I'm talking about  in WiX v3.
> I'd expect preprocessor variables to work too; if they don't, it's
> probably a bug.

What I did to try using a WixVariable was adding the following to the
fragment in Common.wxs as default values for the variables.




And then in the dialogs that have a sidebar bitmap I changed the
Control/@X and Control/@Width attributes. For example the Title in
FatalError.wxs.



I'm probably doing this wrong since it doesn't work.

   [candle] src\ext\uiextension\wixlib\FatalError.wxs(24) : error
CNDL0008 : The Control/@X attribute's value,
'!(wix.WixUIDialogBitmapWidth)', is not a legal integer value.  Legal
integer values are from -2,147,483,648 to 2,147,483,647.
   [candle] src\ext\uiextension\wixlib\FatalError.wxs(24) : error
CNDL0008 : The Control/@Width attribute's value,
'!(wix.WixUIDialogTextWidth)', is not a legal integer value.  Legal
integer values are from -2,147,483,648 to 2,147,483,647.
   [candle] src\ext\uiextension\wixlib\FatalError.wxs(24) : error
CNDL0010 : The Control/@Width attribute was not found; it is required.
   [candle] src\ext\uiextension\wixlib\FatalError.wxs(24) : error
CNDL0010 : The Control/@X attribute was not found; it is required.

/Johan

-
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


Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-19 Thread Bob Arnson
Johan Appelgren wrote:
> I don't think WixVariables works for what I'm trying to do. If I try
> to use a wix variable candle fails with an error that states that only
> integers are valid values for the Control/@Width attribute. Could I be
> doing this the wrong way somehow?
>   

Could you show your syntax? If loc variables work, I'd expect bind-time 
variables to work too. BTW, I'm talking about  in WiX v3. 
I'd expect preprocessor variables to work too; if they don't, it's 
probably a bug.

-- 
sig://boB
http://bobs.org



-
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


Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-16 Thread Johan Appelgren
On 2/9/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
> Johan Appelgren wrote:
> > Anyways, we're already using a custom WixUIExtension, abused
> > localization to make the sidebar bitmap width configurable, so I've
> > made ReinstallMode configurable the same way.
> >
>
> You could also do it with WixVariables -- see WixUI_Advanced for how
> we're doing some stuff like that.

I don't think WixVariables works for what I'm trying to do. If I try
to use a wix variable candle fails with an error that states that only
integers are valid values for the Control/@Width attribute. Could I be
doing this the wrong way somehow?

-
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


Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-09 Thread Bob Arnson
Johan Appelgren wrote:
> Anyways, we're already using a custom WixUIExtension, abused
> localization to make the sidebar bitmap width configurable, so I've
> made ReinstallMode configurable the same way.
>   

You could also do it with WixVariables -- see WixUI_Advanced for how 
we're doing some stuff like that.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-08 Thread Johan Appelgren
On 2/7/07, Johan Appelgren <[EMAIL PROTECTED]> wrote:
> On 2/7/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
> > Johan Appelgren wrote:
> > > A possible cause for this is that the ReinstallMode is set to 'ecmus'
> > > VerifyReadyDlg. If I interpret the documentation correctly 'e' means
> > > to always repair files. So even if the file isn't missing or broken it
> > > is repaired.
> > >
> > > Shouldn't 'ocmus' be enough? 'o' to repair if the existing file has an
> > > older version, and 'c' to repair if the checksum does not match? Or
> > > does this have some negative consequences? The default is after just
> > > 'omus'.
> > >
> >
> > Both are valid, of course -- sometimes a "thorough" repair is more
> > useful for fixing problems. But it does have a consequence for shared
> > components, as you discover. It's fair to change REINSTALLMODE to avoid
> > that issue.
> >
> > --
> > sig://boB
> > http://bobs.org
> >
>
> Is REINSTALLMODE configurable when using UIExtension? Can't find any
> traces of that in the sources at least.
>

Anyways, we're already using a custom WixUIExtension, abused
localization to make the sidebar bitmap width configurable, so I've
made ReinstallMode configurable the same way.

/Johan

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-07 Thread Johan Appelgren
On 2/7/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
> Johan Appelgren wrote:
> > A possible cause for this is that the ReinstallMode is set to 'ecmus'
> > VerifyReadyDlg. If I interpret the documentation correctly 'e' means
> > to always repair files. So even if the file isn't missing or broken it
> > is repaired.
> >
> > Shouldn't 'ocmus' be enough? 'o' to repair if the existing file has an
> > older version, and 'c' to repair if the checksum does not match? Or
> > does this have some negative consequences? The default is after just
> > 'omus'.
> >
>
> Both are valid, of course -- sometimes a "thorough" repair is more
> useful for fixing problems. But it does have a consequence for shared
> components, as you discover. It's fair to change REINSTALLMODE to avoid
> that issue.
>
> --
> sig://boB
> http://bobs.org
>

Is REINSTALLMODE configurable when using UIExtension? Can't find any
traces of that in the sources at least.

/Johan

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-07 Thread Bob Arnson
Johan Appelgren wrote:
> A possible cause for this is that the ReinstallMode is set to 'ecmus'
> VerifyReadyDlg. If I interpret the documentation correctly 'e' means
> to always repair files. So even if the file isn't missing or broken it
> is repaired.
>
> Shouldn't 'ocmus' be enough? 'o' to repair if the existing file has an
> older version, and 'c' to repair if the checksum does not match? Or
> does this have some negative consequences? The default is after just
> 'omus'.
>   

Both are valid, of course -- sometimes a "thorough" repair is more 
useful for fixing problems. But it does have a consequence for shared 
components, as you discover. It's fair to change REINSTALLMODE to avoid 
that issue.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Default REINSTALLMODE for repair

2007-02-07 Thread Johan Appelgren
Hi,

I've run into a minor issue when repairing an install built with wix
3.0.2420.0.

I'm using Microsoft_VC80_CRT_x86.msm and if I repair
C:\WINDOWS\winsxs\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcr80.dll
is reported as in use.  This causes a reboot prompt at the end of the
repair, ReplacedInUseFiles is set.

It is reported as in use by mscorsvw, msiexec and rundll32.

A possible cause for this is that the ReinstallMode is set to 'ecmus'
VerifyReadyDlg. If I interpret the documentation correctly 'e' means
to always repair files. So even if the file isn't missing or broken it
is repaired.

Shouldn't 'ocmus' be enough? 'o' to repair if the existing file has an
older version, and 'c' to repair if the checksum does not match? Or
does this have some negative consequences? The default is after just
'omus'.


/Johan

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users