[WiX-users] Question about InstallValidation for uninstall

2010-08-26 Thread Elfe Xu
Hi all,
When uninstall a product, during InstallValidation, MSI will check if need to 
close any dependent applications. If yes, will show a message box:
The following applications should be lcosed before continuing the install:
...
And let user choose

(1)Automatically close applications and attempt to restart them after setup 
is complete.

(2)Do not close applications. (A reboot will be required)

Our product is depends on another windows service, but I don't want to show 
this dialog.
Of course I can schedule an action to close the application before 
installvalidation, but I do not want to do this, because then I need to handle 
the restart for various cases (cancel before/after installinitialize, install 
success/fail etc).

Is there any way that we don't show the dialog, but force to use option (1)?

Thanks,
-Elfe

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Copy fonts to folder. Without installing them.

2010-08-26 Thread mispel

When I remove 'TrueType=yes' I get this error message:

error LGHT1076 : ICE60: The file FOHELLBI.TTF is not a Font, and its version
is not a companion file reference. It should have a language specified in
the Language column.
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Copy-fonts-to-folder-Without-installing-them-tp5459976p5464720.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to set Manufacturer, Name and Title using Heat

2010-08-26 Thread Satyaprakash J
Hi,
I am using Heat to generate the wxs file.  In the generated 
file we have Manufacturer=PUT-COMPANY-NAME-HERE 
Name=PUT-PRODUCT-NAME-HERE and Title=PUT-FEATURE-TITLE-HERE. I would like 
to know how the Manufacturer, Name  and Title can be set automatically using 
heat.

Thanks
Satyaprakash J
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to set Manufacturer, Name and Title using Heat

2010-08-26 Thread Peter Shirtcliffe
You can use heat's -t switch to pass an xslt file that will be applied
to the heat output.

-Original Message-
From: Satyaprakash J [mailto:sat...@smartek21.com] 
Sent: 26 August 2010 11:43
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to set Manufacturer, Name and Title using Heat

Hi,
I am using Heat to generate the wxs file.  In the
generated file we have Manufacturer=PUT-COMPANY-NAME-HERE
Name=PUT-PRODUCT-NAME-HERE and Title=PUT-FEATURE-TITLE-HERE. I
would like to know how the Manufacturer, Name  and Title can be set
automatically using heat.

Thanks
Satyaprakash J

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users

worldwide. Take advantage of special opportunities to increase revenue
and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
/pre
BR style=font-size:4px;
a href = http://www.sdl.com;img src=http://www.sdl.com/images/email 
logo_150dpi-01.png alt=www.sdl.com border=0//a
BR
font face=arial  size=2a href = http://www.sdl.com; 
style=color:005740; font-weight: boldwww.sdl.com/a/font
BR
BR
font face=arial  size=1 color=#736F6E
bSDL PLC confidential, all rights reserved./b
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.BR
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.BR
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
/font



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] conditionally Setup

2010-08-26 Thread Mathias Kahl
Hi,
i want to create a Setup which decides on an output of a c++ application 
which files need to be installed. Is there any option to handle this?

Thank you,
Mathias
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Install dll's to system-directory

2010-08-26 Thread Mathias Kahl
Hello,
i need to copy  some dll's into the System32 folder of Windows with my 
.msi. Is there a shortcut to copy files in this folder? Because it needn't 
to be at every computer C:/windows/system32

Thank You,
Mathias
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install dll's to system-directory

2010-08-26 Thread PLEYBER Thomas
Hi Mathias,

Take a look at this page :
http://msdn.microsoft.com/en-us/library/aa372057.aspx

Hope this helps

-Message d'origine-
De : Mathias Kahl [mailto:mat...@gmx.de] 
Envoyé : jeudi 26 août 2010 13:30
À : wix-users@lists.sourceforge.net
Objet : [WiX-users] Install dll's to system-directory

Hello,
i need to copy  some dll's into the System32 folder of Windows with my 
.msi. Is there a shortcut to copy files in this folder? Because it needn't 
to be at every computer C:/windows/system32

Thank You,
Mathias
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install dll's to system-directory

2010-08-26 Thread Mathias Kahl
Thank you Thomas :) that looks real good

Mathias

 
  Original-Nachricht 
 Datum: Thu, 26 Aug 2010 13:39:37 +0200
 Von: PLEYBER Thomas thomas.pley...@alyotech.fr
 An: 'General discussion for Windows Installer XML toolset.' 
 wix-users@lists.sourceforge.net
 Betreff: Re: [WiX-users] Install dll's to system-directory
 
 Hi Mathias, 
  
 Take a look at this page : 
 http://msdn.microsoft.com/en-us/library/aa372057.aspx 
  
 Hope this helps 
  
 -Message d'origine- 
 De : Mathias Kahl [mailto:mat...@gmx.de]  
 Envoyé : jeudi 26 août 2010 13:30 
 À : wix-users@lists.sourceforge.net 
 Objet : [WiX-users] Install dll's to system-directory 
  
 Hello, 
 i need to copy  some dll's into the System32 folder of Windows with my  
 .msi. Is there a shortcut to copy files in this folder? Because it 
 needn't  
 to be at every computer C:/windows/system32 
  
 Thank You, 
 Mathias 
 
 --
  
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program 
 Be part of this innovative community and reach millions of netbook users  
 worldwide. Take advantage of special opportunities to increase revenue 
 and  
 speed time-to-market. Join now, and jumpstart your future. 
 http://p.sf.net/sfu/intel-atom-d2d 
 ___ 
 WiX-users mailing list 
 WiX-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/wix-users 
 
 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users 
 worldwide. Take advantage of special opportunities to increase revenue 
 and 
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WIX Licensing

2010-08-26 Thread James Poole
Apparently my company is OK with the Eclipse Public License but not the
Common Public License, and the only change between the two is the removal of
this sentence in section 7:

*If Recipient institutes patent litigation against a Contributor with
respect to a patent applicable to software (including a cross-claim or
counterclaim in a lawsuit), then any patent licenses granted by that
Contributor to such Recipient under this Agreement shall terminate as of the
date such litigation is filed.

*Other companies apparently did have issues with this part of the CPL which
is why the Eclipse foundation created an updated version.

My question is this:

Is Microsoft still the ultimate decision maker when it comes to what license
this is released under?  What would the process be for having this get
released under a newer open source license?

-James

On Wed, Aug 25, 2010 at 5:19 PM, Christopher Painter 
chr...@deploymentengineering.com wrote:

 That's interesting.  I also work for a very large software company and we
 have
 a highly formal process for evaluating tools with a group of people that
 study
 these things in extreme detail and while I did have to jump through some
 compliance hoops  ( for example we did Fortify security scans and I had to
 track
 down any false positives with the  help of Rob to justify the alerts )
 nobody
 made any such statement about the EULA.  I'm suspecting the person who made
 this
 decision is misinformed but unless we know there exact complaints it's hard
 to
 address them.

 Christopher Painter, Author of Deployment Engineering Blog
 Have a hot tip, know a secret or read a really good thread that deserves
 attention? E-Mail Me



 - Original Message 
 From: James Poole w...@slowcommotion.com
 To: General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Sent: Wed, August 25, 2010 2:20:37 PM
 Subject: [WiX-users] WIX Licensing

 I just sat through a meeting at my employer for the last 3 months (a
 significantly large software company) who told me the CPL license WIX is
 released under was too restrictive to allow me to use it as a development
 tool.  Of course I just spent the last 2 months porting a horrific
 InstallShield installer to WIX...

 Is there any chance this license will ever get updated to a more recent
 open
 source license (CPL is sooo 2001).

 Or is there any way for me to purchase WIX under a different license?

 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users






 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WIX Licensing

2010-08-26 Thread Christopher Painter

 Microsoft does copyright assignments for all contributions to WiX so they are 
in fact the sole contributor in the context of this license.  I believe the 
process would be fat chance in hell but only Rob could speak to any possiblity 
of negotiating this.    I know that the my internal group that I mentioned 
earlier has on occasion forced vendors to negotiate different terms and 
licenses 
so it's not impossible, just extremely difficutl.

I had to deal with this extensively this year because my very own open source 
project IsWiX actually was born as an internal research and development 
activity 
at my company and I had to negotiate with them to assign all of the IP to me so 
that I could release it as open source and then license it back to them.  Very 
complicated stuff licensing can be.

Chris



- Original Message 
From: James Poole w...@slowcommotion.com
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Sent: Thu, August 26, 2010 9:57:53 AM
Subject: Re: [WiX-users] WIX Licensing

Apparently my company is OK with the Eclipse Public License but not the
Common Public License, and the only change between the two is the removal of
this sentence in section 7:

*If Recipient institutes patent litigation against a Contributor with
respect to a patent applicable to software (including a cross-claim or
counterclaim in a lawsuit), then any patent licenses granted by that
Contributor to such Recipient under this Agreement shall terminate as of the
date such litigation is filed.

*Other companies apparently did have issues with this part of the CPL which
is why the Eclipse foundation created an updated version.

My question is this:

Is Microsoft still the ultimate decision maker when it comes to what license
this is released under?  What would the process be for having this get
released under a newer open source license?

-James

On Wed, Aug 25, 2010 at 5:19 PM, Christopher Painter 
chr...@deploymentengineering.com wrote:

 That's interesting.  I also work for a very large software company and we
 have
 a highly formal process for evaluating tools with a group of people that
 study
 these things in extreme detail and while I did have to jump through some
 compliance hoops  ( for example we did Fortify security scans and I had to
 track
 down any false positives with the  help of Rob to justify the alerts )
 nobody
 made any such statement about the EULA.  I'm suspecting the person who made
 this
 decision is misinformed but unless we know there exact complaints it's hard
 to
 address them.

 Christopher Painter, Author of Deployment Engineering Blog
 Have a hot tip, know a secret or read a really good thread that deserves
 attention? E-Mail Me



 - Original Message 
 From: James Poole w...@slowcommotion.com
 To: General discussion for Windows Installer XML toolset.
 wix-users@lists.sourceforge.net
 Sent: Wed, August 25, 2010 2:20:37 PM
 Subject: [WiX-users] WIX Licensing

 I just sat through a meeting at my employer for the last 3 months (a
 significantly large software company) who told me the CPL license WIX is
 released under was too restrictive to allow me to use it as a development
 tool.  Of course I just spent the last 2 months porting a horrific
 InstallShield installer to WIX...

 Is there any chance this license will ever get updated to a more recent
 open
 source license (CPL is sooo 2001).

 Or is there any way for me to purchase WIX under a different license?

 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users






 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.

Re: [WiX-users] Question about InstallValidation for uninstall

2010-08-26 Thread Wilson, Phil
That's a fair description of MsiRMFilesInUse:

http://msdn.microsoft.com/en-us/library/aa370379(VS.85).aspx 

Apps should integrate with Restart Manager to get automatic restart, and they 
get an oppurtunity to save state and restart where they left off. 

Phil Wilson 

-Original Message-
From: Elfe Xu [mailto:elf...@microsoft.com] 
Sent: Thursday, August 26, 2010 12:51 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Question about InstallValidation for uninstall

Hi all,
When uninstall a product, during InstallValidation, MSI will check if need to 
close any dependent applications. If yes, will show a message box:
The following applications should be lcosed before continuing the install:
...
And let user choose

(1)Automatically close applications and attempt to restart them after setup 
is complete.

(2)Do not close applications. (A reboot will be required)

Our product is depends on another windows service, but I don't want to show 
this dialog.
Of course I can schedule an action to close the application before 
installvalidation, but I do not want to do this, because then I need to handle 
the restart for various cases (cancel before/after installinitialize, install 
success/fail etc).

Is there any way that we don't show the dialog, but force to use option (1)?

Thanks,
-Elfe

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to check if major upgrade in progress?

2010-08-26 Thread gapearce

How can I tell if a major upgrade is in progress in the UI?  
I want to display a special dialog in the upgrade situation...

Thanks
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-check-if-major-upgrade-in-progress-tp5466532p5466532.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WebBrowser control in custom UI dialog

2010-08-26 Thread Pratapa Reddy Sanaga
Figured out that embeddedUI is introduced with Windows Installer 4.5, but I
need to be compatible with Windows Installer 3.1. So, embeddedUI is not an
option for me.

I'm now left with two options.

1. In the bootstrapper exe, I can show a window, get the user credentials,
get the token from the service and pass on the token to the msi in a public
property.
2. Use an external UI to do the same work.

What is the difference between using an external UI(msi related) vs using an
external UI in the exe? Are there any advantages of using the MSI external
UI? Can someone please point me to any docs talking about the msi external
ui? MSDN documentation didn't give me enough info about it...

Thanks,
Pratap.

On Tue, Aug 24, 2010 at 2:47 PM, Pratapa Reddy Sanaga 
pratap.san...@gmail.com wrote:

 When is my embedded UI called into during the execution sequence? Is it
 called during InstallUISequence or InstallExecuteSequence?


 On Fri, Aug 20, 2010 at 1:04 PM, Blair os...@live.com wrote:

 Only via your own UI (either embedded, external (requires a bootstrapper
 where you can place your UI), or in your own bootstrapper before starting
 the MSI transaction.

 You could use IDCRL from a custom action.

 -Original Message-
 From: Pratapa Reddy Sanaga [mailto:pratap.san...@gmail.com]
 Sent: Thursday, August 19, 2010 11:45 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] WebBrowser control in custom UI dialog

 Hi,

 I'm trying to solve the following problem.

 The MSI will enroll the client into my service only if the user
 provides LiveID credentials and the MSI is able to get a federated token
 from LiveID service. Currently LiveID does not support using ws-trust
 endpoint to get a token, so I will have to either use IDCRL or use a
 WebBrowser control. I am trying to look into the option of using a
 WebBrowser control.
  Is it possible to have a WebBrowser control in the custom UI dialog, so
 that the user can provide his LiveID credentials and the WebBrowser
 control
 can talk to the LiveID service to get a token? I myself am not sure if
 what
 I'm asking for even makes any sense, but there has to be a starting
 point...
 :)

 Thanks,
 Pratap.

 --
 Vote for loksatta = vote for a better future

 
 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-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

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




 --
 Vote for loksatta = vote for a better future




-- 
Vote for loksatta = vote for a better future
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] XMLConfig question

2010-08-26 Thread Chad Petersen
I have an XML file that looks like this. The goal is to alter the en_US
to some other value.

web-app
context-param
param-nameDEFAULT_LOCALE/param-name
param-valueen_US/param-value
/context-param
context-param
param-nameDEFAULT_TIMEZONE/param-name
param-valuePacific/param-value
/context-param
/web-app

I've written a very small installer with this entry

util:XmlConfig Id=XMLMod50 File=C:\web.xml Action=create
Node=value On=install
ElementPath=/web-app/context-param[\[]param-name='DEFAULT_LOCALE'[\]]
Name=./param-value Value=other
VerifyPath=/web-app/context-param[\[]param-name='DEFAULT_LOCALE'[\]]
Sequence=1 /

The verbose log says Installation failed near the end, but it doesn't
display an error, it simply rolls back. I'm not sure if my xPath syntax
is wrong or exactly what it doesn't like. Any ideas?

WiX 3.0.5419.0

Thanks


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to check if major upgrade in progress?

2010-08-26 Thread gapearce

I should add that I'm using this mechanism now, and I test
OLDERVERSIONBEINGUPGRADED, but I wanted to ask if this is the right way,
or is there a different property I can also test?

Upgrade Id=$(var.UpgradeCode)
  UpgradeVersion Minimum=$(var.ProductVersion) OnlyDetect=yes
Property=NEWERVERSIONDETECTED /
  UpgradeVersion Minimum=0.0.0 Maximum=$(var.ProductVersion)
  IncludeMinimum=yes IncludeMaximum=no
  Property=OLDERVERSIONBEINGUPGRADED /
/Upgrade


-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-check-if-major-upgrade-in-progress-tp5466532p5466683.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)

2010-08-26 Thread Chad Petersen
Try adding the xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; 
schema to the top of the file that has the XmlFile element in it.

Mine looks like this

Wix xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns=http://schemas.microsoft.com/wix/2006/wi; 
xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;

-Original Message-
From: Dave DaveLists [mailto:dbfli...@gmail.com] 
Sent: Wednesday, August 25, 2010 8:50 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in 
general, actually)

Ah, yes, sorry. It is a wix compiler error:

The Component element contains an unhandled extension element
'util:XmlFile'.  Please ensure that the extension for elements in the
'http:⁄⁄schemas.microsoft.com⁄wix⁄UtilExtension' namespace has been
provided.

I googled this line and found a few references to it but the
suggestion was always to add a reference to WixUtilExtension.dll,
which we already have. We tried deleting it and putting it back in
manually but this did not help (and I verified that the DLL is in the
directory where candle and light are, just to be sure).

Thanks,

-Dave

On Tue, Aug 24, 2010 at 6:16 PM, Bob Arnson b...@joyofsetup.com wrote:
  On 24-Aug-10 21:00, Dave DaveLists wrote:
 we expected to be able to reference XmlFile using util:XmlFile but
 this is failing at compile time.

 It might help if you described how it was failing...

 --
 sig://boB
 http://joyofsetup.com/


 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detecting major upgrade problem

2010-08-26 Thread gapearce

Doh!  I figured it out - and I've asked this question before but in a
different way.  The answer is:

If you have more than one NewDialog event that has a true condition, the one
with the highest order number will execute, and the others will be ignored.
You need to make your conditions mutually exclusive. 

and it was provided by Blair-2 

Sorry for the dumb post.
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Detecting-major-upgrade-problem-tp5462729p5466765.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] XMLConfig question

2010-08-26 Thread Chad Petersen
I've made some headway, but not quite there yet. The closest I've gotten
so far is this code

util:XmlConfig Id=XMLMod50 File=C:\web.xml Action=create
Node=value On=install
ElementPath=/web-app/context-param[\[]param-name='DEFAULT_LOCALE'[\]]
Name=param-value Value=other Sequence=1 /

Which results in this value being written to the second line below
rather than it modifying the fourth line. 

web-app
context-param param-valueother 
param-nameDEFAULT_LOCALE/param-name
param-valueen_US/param-value
/context-param
context-param
param-nameDEFAULT_TIMEZONE/param-name
param-valuePacific/param-value
/context-param
/web-app

-Original Message-
From: Chad Petersen [mailto:chad.peter...@harlandfs.com] 
Sent: Thursday, August 26, 2010 11:26 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] XMLConfig question

I have an XML file that looks like this. The goal is to alter the en_US
to some other value.

web-app
context-param
param-nameDEFAULT_LOCALE/param-name
param-valueen_US/param-value
/context-param
context-param
param-nameDEFAULT_TIMEZONE/param-name
param-valuePacific/param-value
/context-param
/web-app

I've written a very small installer with this entry

util:XmlConfig Id=XMLMod50 File=C:\web.xml Action=create
Node=value On=install
ElementPath=/web-app/context-param[\[]param-name='DEFAULT_LOCALE'[\]]
Name=./param-value Value=other
VerifyPath=/web-app/context-param[\[]param-name='DEFAULT_LOCALE'[\]]
Sequence=1 /

The verbose log says Installation failed near the end, but it doesn't
display an error, it simply rolls back. I'm not sure if my xPath syntax
is wrong or exactly what it doesn't like. Any ideas?

WiX 3.0.5419.0

Thanks



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users

worldwide. Take advantage of special opportunities to increase revenue
and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Question about InstallValidation for uninstall

2010-08-26 Thread Elfe Xu

Thanks Phil.

My question is: is there anyway for me to hide the MsiRMFilesInUse dialog,
and do the close/restart application automatically? I want to use the
Restart Mananger rather than implement start/stop functions by myself, but I
don't want user to see this dialog.

Thanks,
-Elfe

-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Question-about-InstallValidation-for-uninstall-tp5464620p5467912.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Question about using XmlFile (WixUtilExtension.dll in general, actually)

2010-08-26 Thread James Kessler
Are you referencing the dll in your Visual Studio project?


On Thu, Aug 26, 2010 at 3:29 PM, Dave DaveLists dbfli...@gmail.com wrote:

 Thanks for the response Chad. I do indeed have the xmlns:util setup at
 the top of my WIX source file. Do you use WIX 3.0 or 3.5? We moved to
 Visual Studio 2010 with WIX 3.5, but interestingly enough a machine
 that still has Visual 2008 and WIX 3.0 works fine with the same code
 (XmlFile and all).

 -Dave

 On Thu, Aug 26, 2010 at 11:42 AM, Chad Petersen
 chad.peter...@harlandfs.com wrote:
  Try adding the xmlns:util=
 http://schemas.microsoft.com/wix/UtilExtension; schema to the top of the
 file that has the XmlFile element in it.
 
  Mine looks like this
 
  Wix xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=
 http://schemas.microsoft.com/wix/2006/wi; xmlns:util=
 http://schemas.microsoft.com/wix/UtilExtension;
 
  -Original Message-
  From: Dave DaveLists [mailto:dbfli...@gmail.com]
  Sent: Wednesday, August 25, 2010 8:50 AM
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Question about using XmlFile
 (WixUtilExtension.dll in general, actually)
 
  Ah, yes, sorry. It is a wix compiler error:
 
  The Component element contains an unhandled extension element
  'util:XmlFile'.  Please ensure that the extension for elements in the
  'http:⁄⁄schemas.microsoft.com⁄wix⁄UtilExtension' namespace has been
  provided.
 
  I googled this line and found a few references to it but the
  suggestion was always to add a reference to WixUtilExtension.dll,
  which we already have. We tried deleting it and putting it back in
  manually but this did not help (and I verified that the DLL is in the
  directory where candle and light are, just to be sure).
 
  Thanks,
 
  -Dave
 
  On Tue, Aug 24, 2010 at 6:16 PM, Bob Arnson b...@joyofsetup.com wrote:
   On 24-Aug-10 21:00, Dave DaveLists wrote:
  we expected to be able to reference XmlFile using util:XmlFile but
  this is failing at compile time.
 
  It might help if you described how it was failing...
 
  --
  sig://boB
  http://joyofsetup.com/
 
 
 
 --
  Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
  Be part of this innovative community and reach millions of netbook users
  worldwide. Take advantage of special opportunities to increase revenue
 and
  speed time-to-market. Join now, and jumpstart your future.
  http://p.sf.net/sfu/intel-atom-d2d
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 --
  Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
  Be part of this innovative community and reach millions of netbook users
  worldwide. Take advantage of special opportunities to increase revenue
 and
  speed time-to-market. Join now, and jumpstart your future.
  http://p.sf.net/sfu/intel-atom-d2d
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 --
  Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
  Be part of this innovative community and reach millions of netbook users
  worldwide. Take advantage of special opportunities to increase revenue
 and
  speed time-to-market. Join now, and jumpstart your future.
  http://p.sf.net/sfu/intel-atom-d2d
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 


 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users