[WiX-users] Detecting if a Service is installed in WIX

2013-08-14 Thread Suryadeep Biswal
Hi,
I am looking to put a check in my wxs file to detect if a windows service is 
installed and if not fail the installation. Is there any in-built support to 
achieve this (other than a Custom Action) ?
Regards,Surya 
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Feature question

2013-08-14 Thread Blair Murri
yes, features can be used that way.
 
You can also have a feature you don't show for your common elements that is 
always installed, or you can reference your common elements in both of your 
features. It'll work either way.
 
 From: kpet...@otaksoft.com
 To: wix-users@lists.sourceforge.net
 Date: Tue, 13 Aug 2013 18:50:58 -0700
 Subject: [WiX-users] Feature question
 
 
 
 Hi all,
 
 we deploy two MSIs to our customers which are almost identical.
 
 The only difference is that 4 executables are slightly different (also named 
 differently) - all 
 other files are the same. The 4 executables also differ in their menu  
 desktop shortcuts.
 
 Could we use the feature element to allow our users to pick either Version A 
 or Version B at install 
 time or are features better suited to always install just one base product 
 and then allow for 
 selection of additional pieces?
 
 TIA,
 Kai
 
 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead. 
 Download for free and get started troubleshooting in minutes. 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
  
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom installation in Wix Patch

2013-08-14 Thread Swaroop Kare
In the wix major upgrade, I have a set of features and the end user has
the option to install either typical, custom or complete features.

 

In case of wix patch release, is it possible to give the user the same
option of typical, custom or complete installation type.

 

Else during the deployment can wix patch detect which features to be
deployed based on the installation done in a system. i.e if a system is
installed with typical installation then the wix patch update only those
components that belong to typical installation. and if a system has a
custom installation with only feature X then the patch update should
update only those components that belong to feature X.

 

Thanks

Wix Developer


This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which it is addressed and may 
contain information which is privileged, confidential or prohibited from 
disclosure or unauthorised use. You are hereby notified that any use, any form 
of reproduction, 
dissemination, copying, disclosure, modification, distribution and/or 
publication of this e-mail message or its attachments other than by it's 
intended recipient is strictly prohibited by the sender. If you have received 
this email in error, please notify the system manager by email at 
ad...@ifdspercana.com
Please note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of the company. Finally, 
this email has been scanned for the presence of viruses. The recipient should 
also check this email and any attachments for the presence of viruses. The 
company accepts no liability for any damage caused by any virus transmitted by 
this email
__

IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16 Joyce 
Way, Park West Business Park, Dublin 12, Ireland.
Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil 
(UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) 
IFDS Percana International Managed Services Limited, no. 368022, is regulated 
by the Central Bank of Ireland. Registered in Ireland at 16 Joyce Way, Park 
West Business Park, Dublin 12, Ireland.
IFDS Percana International Managed Services Limited is a wholly owned 
subsidiary of IFDS Percana Group Limited and provides support services to the 
life and pensions industry.
Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and Paul 
O'Neil (UK).
www.ifdspercana.com

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding a new dependent file to shared component without breaking component rules

2013-08-14 Thread David Watson
When we release side by side versions of products we have to
reversion/relocate(re-guid if com) all our shared components. 

e.g.
All file major versions are increased and we install into different
locations.
All com components have version dependent naming and are reworked to not
clash with previous versions.
This may not be an option if it is a third party com component though, but
there is the potential to use registry free com but this does have
limitations.

%commonfiles%\my company\product1shared
%commonfiles%\my company\product2shared

%programfiles%\my company\product\product1
% programfiles %\my company\product\product2

If you are not dealing with com you can load your dependencies dynamically
from the new common folder in the later version of the software.

Beyond that you are getting into bad practices.

Could you install the dependent dll (or shared components) in a separate msi
that doesn't get uninstalled automatically on product2 removal.

Or some horrendous custom action that puts the dependent dll back if you are
removing it and will break product1.

Dave

-Original Message-
From: Michael Partridge [mailto:michael.partri...@petrosys.com.au] 
Sent: 14 August 2013 03:39
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Adding a new dependent file to shared component
without breaking component rules

Thanks to all for the feedback.

I do agree with the consensus that Product1 is broken and should be fixed
with an upgrade or patch. However, in the real world, that isn't going to
happen in this case. As I said, Product1 and Product2 are side-by-side
installs of the same application, where there is separate Product for each
major version shipped. So, in my example Product1 is really a placeholder
representing 12 different Products (which then all have their own minor
version history). I know I'll never get the resources to make the fix for all
these versions, unfortunate situation where money wins over perfection. At
least I understand (correctly!) the compromise we're making.

(And yeah, we do have a service plan for all our earlier versions for, say,
security issues, but this issue won't be high enough up the list to trigger
one of those. I will keep a record and put in the fix if we do create a new
version of one of the existing Product1's.)

Thanks again for the useful input.

Cheers,
Michael
Ps. I have pushed back to the developer to see if we can remove this
additional dependency, but unsure if that will be possible.


-Original Message-
From: Phil Wilson [mailto:phil.wil...@mvps.org]
Sent: Wednesday, 14 August 2013 8:08 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Adding a new dependent file to shared component
without breaking component rules

I agree. A common shared component has been updated and it needs fixing in
all the products because it can no longer be shared properly. 

Phil 

-Original Message-
From: David Watson [mailto:dwat...@sdl.com]
Sent: Tuesday, August 13, 2013 10:14 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Adding a new dependent fileger to shared component
without breaking component rules

This is now a bug in product1. It needs fixing at a priority that your
product owner decides. You must have an update strategy for that product,
what if it has a critical security issue/flaw?

You could release product2 as a burn bundle and include a fix in it for
product1 by adding a major upgrade msi or msp to it along with your product2
msi.

Dave


-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: 13 August 2013 15:16
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Adding a new dependent file to shared component
without breaking component rules

No, don't force features to not be uninstalled when uninstalling. Crazy
things will happen. In general, don't mess with feature selection lightly.

Michael, I misread the word dependency. I think you have analyzed the math
on this correctly. This is one of the scenarios where the Component Rules are
fundamentally broken. Windows Installer expected you to not add dependencies
like this... but devs will be devs and it'd be nice if they actually handled
it correctly.




On Tue, Aug 13, 2013 at 2:55 AM, Blair Murri os...@live.com wrote:

 You could put D2.dll into its own feature, and force that feature to 
 not be removed on product removal if product 1 is still installed. You 
 get the same effect of D2.dll getting orphaned but at least you 
 don't perpetrate the problems of sharing binaries in the same 
 component in all other scenarios.

  From: michael.partri...@petrosys.com.au
  To: wix-users@lists.sourceforge.net
  Date: Tue, 13 Aug 2013 04:07:56 +
  Subject: Re: [WiX-users] Adding a new dependent file to shared 
  component
 without breaking component rules
 
  If I put D2.dll in its own component, then, assuming 

Re: [WiX-users] Custom installation in Wix Patch

2013-08-14 Thread David Watson
The latter behaviour is automatic, only installed features are patched.

-Original Message-
From: Swaroop Kare [mailto:swaroop.k...@ifdspercana.com] 
Sent: 14 August 2013 10:12
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom installation in Wix Patch

In the wix major upgrade, I have a set of features and the end user has the
option to install either typical, custom or complete features.

 

In case of wix patch release, is it possible to give the user the same option
of typical, custom or complete installation type.

 

Else during the deployment can wix patch detect which features to be deployed
based on the installation done in a system. i.e if a system is installed with
typical installation then the wix patch update only those components that
belong to typical installation. and if a system has a custom installation
with only feature X then the patch update should update only those components
that belong to feature X.

 

Thanks

Wix Developer


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to which it is addressed and
may contain information which is privileged, confidential or prohibited from
disclosure or unauthorised use. You are hereby notified that any use, any
form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message or its attachments
other than by it's intended recipient is strictly prohibited by the sender.
If you have received this email in error, please notify the system manager by
email at ad...@ifdspercana.com Please note that any views or opinions
presented in this email are solely those of the author and do not necessarily
represent those of the company. Finally, this email has been scanned for the
presence of viruses. The recipient should also check this email and any
attachments for the presence of viruses. The company accepts no liability for
any damage caused by any virus transmitted by this email
_
_

IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16 Joyce
Way, Park West Business Park, Dublin 12, Ireland.
Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil
(UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) IFDS Percana
International Managed Services Limited, no. 368022, is regulated by the
Central Bank of Ireland. Registered in Ireland at 16 Joyce Way, Park West
Business Park, Dublin 12, Ireland.
IFDS Percana International Managed Services Limited is a wholly owned
subsidiary of IFDS Percana Group Limited and provides support services to the
life and pensions industry.
Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and Paul
O'Neil (UK).
www.ifdspercana.com

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__
-
-
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
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.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] unsubscribe

2013-08-14 Thread Mike Scott
 


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] unsubscribe

2013-08-14 Thread Alain Forget
Try the bottom of this page: 
https://lists.sourceforge.net/lists/listinfo/wix-users

-Original Message-
From: Mike Scott [mailto:mike.sc...@bbc.co.uk] 
Sent: Wednesday, August 14, 2013 07:44
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] unsubscribe

 


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix and backward compatibility with Visual Studio setup project.

2013-08-14 Thread Андрій Цьок
After installing new version app using Wix installer I see duplicate app in
Program and features.
Can Wix installer remove previous Visual Studio Setup project (with
installed app files) before installing the app ?

PS: UpgradeCode is the same as in VS setup project and Version number
is greater than in setup project.

Thanks
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix and backward compatibility with Visual Studio setup project.

2013-08-14 Thread Alain Forget
Are you using the MajorUpgrade element?

-Original Message-
From: Андрій Цьок [mailto:andrey.t...@gmail.com] 
Sent: Wednesday, August 14, 2013 08:23
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix and backward compatibility with Visual Studio setup 
project.

After installing new version app using Wix installer I see duplicate app in
Program and features.
Can Wix installer remove previous Visual Studio Setup project (with
installed app files) before installing the app ?

PS: UpgradeCode is the same as in VS setup project and Version number
is greater than in setup project.

Thanks
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix and backward compatibility with Visual Studio setup project.

2013-08-14 Thread Андрій Цьок
MajorUpgrade AllowDowngrades=no AllowSameVersionUpgrades=no
Schedule=afterInstallInitialize DowngradeErrorMessage=A later version of
[ProductName] is already installed. Setup will now exit. /

And version changed from 1.0.0.0 to 1.1.0.0


On Wed, Aug 14, 2013 at 3:26 PM, Alain Forget afor...@cmu.edu wrote:

 Are you using the MajorUpgrade element?

 -Original Message-
 From: Андрій Цьок [mailto:andrey.t...@gmail.com]
 Sent: Wednesday, August 14, 2013 08:23
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Wix and backward compatibility with Visual Studio
 setup project.

 After installing new version app using Wix installer I see duplicate app in
 Program and features.
 Can Wix installer remove previous Visual Studio Setup project (with
 installed app files) before installing the app ?

 PS: UpgradeCode is the same as in VS setup project and Version number
 is greater than in setup project.

 Thanks

 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom installation in Wix Patch

2013-08-14 Thread Swaroop Kare
Thanks David for your response.

Wix automatic behaviour works for Typical installation and complete
installation and not for Customize installation. Looks like Wix patch
does not remember what features were installed using customize option
and it is installing all the features during the deployment. Can anyone
suggest how to fix them?

And is there a way for the user to select option
of typical, custom or complete installation type during patch install
and for me to control custom installation during patch update?

-Original Message-
From: David Watson [mailto:dwat...@sdl.com] 
Sent: 14 August 2013 11:08
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom installation in Wix Patch

The latter behaviour is automatic, only installed features are patched.

-Original Message-
From: Swaroop Kare [mailto:swaroop.k...@ifdspercana.com] 
Sent: 14 August 2013 10:12
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom installation in Wix Patch

In the wix major upgrade, I have a set of features and the end user has
the
option to install either typical, custom or complete features.

 

In case of wix patch release, is it possible to give the user the same
option
of typical, custom or complete installation type.

 

Else during the deployment can wix patch detect which features to be
deployed
based on the installation done in a system. i.e if a system is installed
with
typical installation then the wix patch update only those components
that
belong to typical installation. and if a system has a custom
installation
with only feature X then the patch update should update only those
components
that belong to feature X.

 

Thanks

Wix Developer

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which it is addressed and may 
contain information which is privileged, confidential or prohibited from 
disclosure or unauthorised use. You are hereby notified that any use, any form 
of reproduction, 
dissemination, copying, disclosure, modification, distribution and/or 
publication of this e-mail message or its attachments other than by it's 
intended recipient is strictly prohibited by the sender. If you have received 
this email in error, please notify the system manager by email at 
ad...@ifdspercana.com
Please note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of the company. Finally, 
this email has been scanned for the presence of viruses. The recipient should 
also check this email and any attachments for the presence of viruses. The 
company accepts no liability for any damage caused by any virus transmitted by 
this email
__

IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16 Joyce 
Way, Park West Business Park, Dublin 12, Ireland.
Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil 
(UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) 
IFDS Percana International Managed Services Limited, no. 368022, is regulated 
by the Central Bank of Ireland. Registered in Ireland at 16 Joyce Way, Park 
West Business Park, Dublin 12, Ireland.
IFDS Percana International Managed Services Limited is a wholly owned 
subsidiary of IFDS Percana Group Limited and provides support services to the 
life and pensions industry.
Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and Paul 
O'Neil (UK).
www.ifdspercana.com

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom theme in Bundle - how to add xml and wxl

2013-08-14 Thread Marlos Gottschild
Hi,

I'm trying to create a custom theme for my Bundle using this:

BootstrapperApplicationRef
Id=WixStandardBootstrapperApplication.RtfLicense /WixVariable
Id=WixStdbaLicenseRtf Value= /WixVariable Id=WixStdbaThemeXml
Value=Resource\RtfTheme.xml /WixVariable Id=WixStdbaThemeWxl
Value=Resource\RtfTheme.wxl /

I added the files from WiX source code, so no error in them, but I
keep receiving error The system cannot find the file
'Resource\RtfTheme.wxl. They are set in VS as None. If I change to
EmbeddedResource, the error changes to The document element name
'Theme' is invalid..

I was looking at wixstdba.vcxproj in WiX source and these files are
included as None and with flag CopyToOutputSubDirectory, but we don't
have this option in C# (or we do?).

How can I reference these files to be able to customize the theme?

BR,

Marlos

PS: Just as an additional reference if someone is trying to do the
same, I'm reading this blog post:

http://neilsleightholm.blogspot.co.uk/2012/05/wix-burn-tipstricks.html
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix and backward compatibility with Visual Studio setup project.

2013-08-14 Thread Marlos Gottschild
I had this or a similar problem with InstallShield. The previous version
was upgraded but the entry wasn't deleted. So I created a cleanup Component
to delete the old registry key. Just check if the previous version was
correctly uninstalled during upgrade.

Here is my code:

ComponentGroup Id=CompGrp_CleanUpUpgradedRegistryComponents
Directory=INSTALLFOLDERComponent Id=Comp_RegistryKey_Cleanup
  KeyPath=yes
ConditionWIX_UPGRADE_DETECTED/ConditionRemoveRegistryKey
Id=RemRegKey_OldInstall   Root=HKLM
   
Key=SOFTWARE\Wow6432Node\MICROSOFT\WINDOWS\CURRENTVERSION\Uninstall\InstallShield_{guid}
  Action=removeOnInstall /
/Component/ComponentGroup

BR,
Marlos


2013/8/14 Андрій Цьок andrey.t...@gmail.com

 MajorUpgrade AllowDowngrades=no AllowSameVersionUpgrades=no
 Schedule=afterInstallInitialize DowngradeErrorMessage=A later version of
 [ProductName] is already installed. Setup will now exit. /

 And version changed from 1.0.0.0 to 1.1.0.0


 On Wed, Aug 14, 2013 at 3:26 PM, Alain Forget afor...@cmu.edu wrote:

  Are you using the MajorUpgrade element?
 
  -Original Message-
  From: Андрій Цьок [mailto:andrey.t...@gmail.com]
  Sent: Wednesday, August 14, 2013 08:23
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] Wix and backward compatibility with Visual Studio
  setup project.
 
  After installing new version app using Wix installer I see duplicate app
 in
  Program and features.
  Can Wix installer remove previous Visual Studio Setup project (with
  installed app files) before installing the app ?
 
  PS: UpgradeCode is the same as in VS setup project and Version number
  is greater than in setup project.
 
  Thanks
 
 
 --
  Get 100% visibility into Java/.NET code with AppDynamics Lite!
  It's a free troubleshooting tool designed for production.
  Get down to code-level detail for bottlenecks, with 2% overhead.
  Download for free and get started troubleshooting in minutes.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 
 --
  Get 100% visibility into Java/.NET code with AppDynamics Lite!
  It's a free troubleshooting tool designed for production.
  Get down to code-level detail for bottlenecks, with 2% overhead.
  Download for free and get started troubleshooting in minutes.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 

 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom theme in Bundle - how to add xml and wxl

2013-08-14 Thread bwehking
Hi,

I have done exactly the same. Just put the WixVariables before the
BootstrapperApplicationRef and it should work.

Bernd



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-theme-in-Bundle-how-to-add-xml-and-wxl-tp7588021p7588022.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom theme in Bundle - how to add xml and wxl

2013-08-14 Thread Phill Hogland
I am doing this in my WixStaBA.  The error implies that your project file
structure is not:

Project Dir\Resource\RtfTheme.xml and RtfTheme.wxl

One thing that caused a problem for me initially was that I used a folder
name Resources but used Resource in the Wxs file.  A simple typo as some
examples use Resource and others use Resources.

Eventually I renamed my customized files, but in the Payload element they
need to use the hardcoded name of thm.xml and thm.wxl.  I also had
difficulty getting it to use a mylogo.png file so I just renamed my file the
default name.

Here is my code if it helps, even though I am using the
HyperlinkLargeLicense varant:

My folder tree is:
Project Dir
   Resources
   logo.png
   QDthm.wxl
   QDthm.xml
   1031\QDthm.wxl
   1033\QDthm.wxl   (note this is same file as in \Resources, but needed
here for language detection code)
   etc.

When I start changing the layout for specific languages (later today?) I
will also add a copy of QDthm.xml and logo.png to each language subfolder
(even if I do not plan to make any change to the png file).


BootstrapperApplicationRef
Id=WixStandardBootstrapperApplication.HyperlinkLargeLicense 
  Payload Name=Logo.png SourceFile=Resources\logo.png /
 
  Payload Id=theme_de_de Compressed=yes  Name=1031\thm.wxl
SourceFile=Resources\1031\QDthm_de_de.wxl/
  Payload Id=theme_en_us Compressed=yes  Name=1033\thm.wxl
SourceFile=Resources\1033\QDthm_en_us.wxl/
  Payload Id=theme_es_es Compressed=yes  Name=1034\thm.wxl
SourceFile=Resources\1034\QDthm_es_es.wxl/
  Payload Id=theme_fr_fr Compressed=yes  Name=1036\thm.wxl
SourceFile=Resources\1036\QDthm_fr_fr.wxl/
  Payload Id=theme_it_it Compressed=yes  Name=1040\thm.wxl
SourceFile=Resources\1040\QDthm_it_it.wxl/
  Payload Id=theme_ja_jp Compressed=yes  Name=1041\thm.wxl
SourceFile=Resources\1041\QDthm_ja_jp.wxl/
  Payload Id=theme_zh_cn Compressed=yes  Name=2052\thm.wxl
SourceFile=Resources\2052\QDthm_zh_cn.wxl/

/BootstrapperApplicationRef
?endif?
   
WixVariable Id=WixStdbaLicenseUrl
Value=http://www.mycompany.com/license.html; /
WixVariable Id=WixStdbaThemeXml Value=Resources\QDthm.xml / 
WixVariable Id=WixStdbaThemeWxl Value=Resources\QDthm.wxl / 



When you get past the compile problem, I found it helpful to watch the
bundle run using ProcessMon, to sort out some of these issues.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-theme-in-Bundle-how-to-add-xml-and-wxl-tp7588021p7588023.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom theme in Bundle - how to add xml and wxl

2013-08-14 Thread Phill Hogland
Regarding this comment:
I was looking at wixstdba.vcxproj in WiX source and these files are 
included as None and with flag CopyToOutputSubDirectory, but we don't 
have this option in C# (or we do?). 

My bundle project is a WiX bootstapper project,, not C#.  Originally I did
not add any of these files into the Project itself, but I had the project
tree as indicated above.  Later I added these files into my VS2010 project
so I could edit them in the IDE rather than using an external editor.  For
each file set the 'Build Action' to None.  My 'Copy to OutPut Dir' is set to
DoNotCopy (which was the default).  I only have my bundle.exe in the output
folder (and this stuff is all embedded inside of it).

 



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-theme-in-Bundle-how-to-add-xml-and-wxl-tp7588021p7588025.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom theme in Bundle - how to add xml and wxl

2013-08-14 Thread Phill Hogland
Also I am using Wix 3.8.722, which I assume from your question you are also
using 3.8.  The concept in 3.7 is the same, but it has an issue detecting
the correct language, and the syntax of these statements is a little
different.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-theme-in-Bundle-how-to-add-xml-and-wxl-tp7588021p7588026.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detecting if a Service is installed in WIX

2013-08-14 Thread Phill Hogland
A windows service always has an associated registry key under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services

Then use the method detailed here:

http://wix.sourceforge.net/manual-wix3/read_a_registry_entry.htm



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Detecting-if-a-Service-is-installed-in-WIX-tp7588006p7588029.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom theme in Bundle - how to add xml and wxl

2013-08-14 Thread Marlos Gottschild
Thanks everyone for your help with this. For future reference:

Using WiX 3.7
Typo in directory name (Resources/Resource)
Removed this line: WixVariable Id=WixStdbaLicenseRtf Value= /
Changed BuildAction to None and Copy to Output Directory to DoNotCopy

These actions solved the errors.

Thanks,
Marlos



2013/8/14 Phill Hogland phogl...@rimage.com

 Also I am using Wix 3.8.722, which I assume from your question you are also
 using 3.8.  The concept in 3.7 is the same, but it has an issue detecting
 the correct language, and the syntax of these statements is a little
 different.



 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-theme-in-Bundle-how-to-add-xml-and-wxl-tp7588021p7588026.html
 Sent from the wix-users mailing list archive at Nabble.com.


 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How not to uninstall a file?

2013-08-14 Thread K Peters
Hi all,

my problem is this:

I have to deal with MSIs that are out in the wild (created with Wise); our
next MSIs will be created with Wix since Wise doesn't exist anymore.

These old MSIs have installed an inifile that needs to survive a major
upgrade coming from the new Wix based MSI.

From decompiling an old MSI I conclude that it contained a custom DLL used
to make a backup of said inifile and then copy it back into place at then
end of the upgrade.

Will I have to do the same or is there (much preferred) a way to achieve
this without a custom dll?

TIA,
Kai

PS: Blair - thank you much for all your answers - much appreciated!
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WixStdBA - LoadBootstrapperBA changes m_fPrereq

2013-08-14 Thread Phill Hogland
As I step through the Wix 3.8.722 code I observe in:
src\ext\BalExtension\Wixstdba\WixStandardBootstrapperApplication.cpp

at line 916

   LoadBootstrapperBAFunctions();

if (m_fPrereq)
{
hr = ParsePrerequisiteInformationFromXml(pixdManifest);
BalExitOnFailure(hr, Failed to read prerequisite
information.);
}
else
{
hr = ParseBootrapperApplicationDataFromXml(pixdManifest);
BalExitOnFailure(hr, Failed to read bootstrapper application
data.);
}

Prior to the call to LoadBootstrapperBAFunctions WinDbg shows m_fPrereq as
undefined.  On entry to this function it is set to zero and when the
function returns control to the next line (the if statement) m_fPrereq is a
large positive number 1753485088 (but it is set to several other values as I
step through LoadBootstrapperBAFunctions.  This is true even when there is
no BAFunctions.dll specified.

As a result the first part of the if statement is always executed and
ParseBootrappApplicationDataFromXML is always skipped.

1) Is this correct logic?  It just seems wrong for a
WixStandardBootstrapperApplication.HyperlinkLargeLicense BA.

2) is ParseBootrappApplicationDataFromXML misspelled (missing the s)?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixStdBA-LoadBootstrapperBA-changes-m-fPrereq-tp7588034.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom installation in Wix Patch

2013-08-14 Thread Blair Murri
If a patch is installed without custom actions altering feature install states 
the patch will only repair the features already installed that contain patched 
components.
 
What happens to your feature states if you simply run repair?
 
How are you running your patch?
 
 Date: Wed, 14 Aug 2013 13:28:55 +0100
 From: swaroop.k...@ifdspercana.com
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] Custom installation in Wix Patch
 
 Thanks David for your response.
 
 Wix automatic behaviour works for Typical installation and complete
 installation and not for Customize installation. Looks like Wix patch
 does not remember what features were installed using customize option
 and it is installing all the features during the deployment. Can anyone
 suggest how to fix them?
 
 And is there a way for the user to select option
 of typical, custom or complete installation type during patch install
 and for me to control custom installation during patch update?
 
 -Original Message-
 From: David Watson [mailto:dwat...@sdl.com] 
 Sent: 14 August 2013 11:08
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Custom installation in Wix Patch
 
 The latter behaviour is automatic, only installed features are patched.
 
 -Original Message-
 From: Swaroop Kare [mailto:swaroop.k...@ifdspercana.com] 
 Sent: 14 August 2013 10:12
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Custom installation in Wix Patch
 
 In the wix major upgrade, I have a set of features and the end user has
 the
 option to install either typical, custom or complete features.
 
  
 
 In case of wix patch release, is it possible to give the user the same
 option
 of typical, custom or complete installation type.
 
  
 
 Else during the deployment can wix patch detect which features to be
 deployed
 based on the installation done in a system. i.e if a system is installed
 with
 typical installation then the wix patch update only those components
 that
 belong to typical installation. and if a system has a custom
 installation
 with only feature X then the patch update should update only those
 components
 that belong to feature X.
 
  
 
 Thanks
 
 Wix Developer
 
 This email and any files transmitted with it are confidential and intended 
 solely for the use of the individual or entity to which it is addressed and 
 may contain information which is privileged, confidential or prohibited from 
 disclosure or unauthorised use. You are hereby notified that any use, any 
 form of reproduction, 
 dissemination, copying, disclosure, modification, distribution and/or 
 publication of this e-mail message or its attachments other than by it's 
 intended recipient is strictly prohibited by the sender. If you have received 
 this email in error, please notify the system manager by email at 
 ad...@ifdspercana.com
 Please note that any views or opinions presented in this email are solely 
 those of the author and do not necessarily represent those of the company. 
 Finally, this email has been scanned for the presence of viruses. The 
 recipient should also check this email and any attachments for the presence 
 of viruses. The company accepts no liability for any damage caused by any 
 virus transmitted by this email
 __
 
 IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16 Joyce 
 Way, Park West Business Park, Dublin 12, Ireland.
 Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil 
 (UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) 
 IFDS Percana International Managed Services Limited, no. 368022, is regulated 
 by the Central Bank of Ireland. Registered in Ireland at 16 Joyce Way, Park 
 West Business Park, Dublin 12, Ireland.
 IFDS Percana International Managed Services Limited is a wholly owned 
 subsidiary of IFDS Percana Group Limited and provides support services to the 
 life and pensions industry.
 Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and Paul 
 O'Neil (UK).
 www.ifdspercana.com
 
 __
 This email has been scanned by the Symantec Email Security.cloud service.
 For more information please visit http://www.symanteccloud.com
 __
 
 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead. 
 Download for free and get started troubleshooting in minutes. 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
  

Re: [WiX-users] Wix and backward compatibility with Visual Studio setup project.

2013-08-14 Thread Phil Wilson
but I wouldn't encourage this solution until the actual problem has been
found. The common issues with failing upgrades that result in two
Programs/Features entries seem to be:

1. A per-user install won't upgrade a per-system install, and vice versa. 

2. Forgetting something like a majorupgrade element or
RemoveExistingProducts action. 

3. A failing RemoveExistingProducts sequenced after InstallFinalize that
rolls back and leaves both old and new entries on the system. 

As always, a verbose log is the diagnostic. 

Phil W 

-Original Message-
From: Marlos Gottschild [mailto:marlos.gottsch...@gmail.com] 
Sent: Wednesday, August 14, 2013 7:07 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix and backward compatibility with Visual Studio
setup project.

I had this or a similar problem with InstallShield. The previous version was
upgraded but the entry wasn't deleted. So I created a cleanup Component to
delete the old registry key. Just check if the previous version was
correctly uninstalled during upgrade.

Here is my code:

ComponentGroup Id=CompGrp_CleanUpUpgradedRegistryComponents
Directory=INSTALLFOLDERComponent Id=Comp_RegistryKey_Cleanup
  KeyPath=yes
ConditionWIX_UPGRADE_DETECTED/ConditionRemoveRegistryKey
Id=RemRegKey_OldInstall   Root=HKLM
 
Key=SOFTWARE\Wow6432Node\MICROSOFT\WINDOWS\CURRENTVERSION\Uninstall\Install
Shield_{guid}
  Action=removeOnInstall /
/Component/ComponentGroup

BR,
Marlos


2013/8/14 Андрій Цьок andrey.t...@gmail.com

 MajorUpgrade AllowDowngrades=no AllowSameVersionUpgrades=no
 Schedule=afterInstallInitialize DowngradeErrorMessage=A later 
 version of [ProductName] is already installed. Setup will now exit. 
 /

 And version changed from 1.0.0.0 to 1.1.0.0


 On Wed, Aug 14, 2013 at 3:26 PM, Alain Forget afor...@cmu.edu wrote:

  Are you using the MajorUpgrade element?
 
  -Original Message-
  From: Андрій Цьок [mailto:andrey.t...@gmail.com]
  Sent: Wednesday, August 14, 2013 08:23
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] Wix and backward compatibility with Visual 
  Studio setup project.
 
  After installing new version app using Wix installer I see duplicate 
  app
 in
  Program and features.
  Can Wix installer remove previous Visual Studio Setup project (with 
  installed app files) before installing the app ?
 
  PS: UpgradeCode is the same as in VS setup project and Version
number
  is greater than in setup project.
 
  Thanks
 
 
 --
 
  Get 100% visibility into Java/.NET code with AppDynamics Lite!
  It's a free troubleshooting tool designed for production.
  Get down to code-level detail for bottlenecks, with 2% overhead.
  Download for free and get started troubleshooting in minutes.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.c
 lktrk
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 
 --
 
  Get 100% visibility into Java/.NET code with AppDynamics Lite!
  It's a free troubleshooting tool designed for production.
  Get down to code-level detail for bottlenecks, with 2% overhead.
  Download for free and get started troubleshooting in minutes.
 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.c
 lktrk
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 

 --
  Get 100% visibility into Java/.NET code with AppDynamics 
 Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.c
 lktrk ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Get 100% visibility into Java/.NET code with 

[WiX-users] Use a TargetProperty in a Verb in a ProgId, for file association

2013-08-14 Thread jo...@msli.com
I am using wix-3.7 on windows7, to associate my program (Compass.exe)
with file-names ending in galileoGlobalProject.

I can build the msi and install it, but double clicking a file raises
error dialog: Windows cannot access the specified device, path, or
file.  You may not have the appropriate permissions to access the item.

How do I populate the correct path to my program?

Details:

Heat generates my list of files using the following syntax:
heat.exe dir dist -dr INSTALLDIR -cg group_ProductFiles -alias .\ 
-norootdirectory -ext .WXS -ext .wixobj -ext .wxi MyProgram.resource_list.wxs

The auto-generated section is as follows:
Fragment
ComponentGroup Id=group_ProductFiles
Component Id=cmpAE06573553A70385366B99F6F873F4C4 Directory=INSTALLDIR 
Guid=4BED1A2F-C6A6-41DE-9642-B5058D915837
File Id=fil295766B9BCB62F1C1108682A4BF39B04 KeyPath=yes 
Source=$(var.dist)\Compass.exe /
/Component
/ComponentGroup
/Fragment

I add this to the Project element:
Property Id='FileAssociationProperty' 
Value=[group_ProductFiles:Compass.exe]/

I try to use the TargetProperty in a Verb in order to create an
Extension in a ProgId:
ProgId Id=CompassgalileoGlobalProject Description=Galileo Global Project  
Extension Id=galileoGlobalProject 
Verb Command=Open Id=open TargetProperty=FileAssociationProperty 
Argument=quot;%1quot; /
/Extension
/ProgId

After installing I search the registry for my extension
HKEY_CLASSES_ROOT\.galileoGlobalProject
  (default)   REG)SZ   CompassgalileoGlobalProject
HKEY_CLASSES_ROOT\CompassgalileoGlobalProject\shell\open\command
  [group_ProductFiles:Compass.exe] %1
HKEY_CURRENT_USER\Software\Classes\.galileoGlobalProject
HKEY_CURRENT_USER\Software\Classes\CompassgalileoGlobalProject\shell\open\command
  [group_ProductFiles:Compass.exe] %1
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.galileoGlobalProject\OpenWithList
  (value not set)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.galileoGlobalProject\OpenWithProgids
  CompassGalileoProjectREG_NONE  (zero-length binary value)

Have I done everything right?
My previous post got no love, so I'm trying to rephrase the question.


NOTICE: This email may contain confidential information.  Please see 
http://www.meyersound.com/confidential/ for our complete policy.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

2013-08-14 Thread Neil Sleightholm
There are some samples on the extended BA site that should help - if you have 
any problems it would be preferable if you posted questions there.

Neil

-Original Message-
From: TimM [mailto:timmay...@smarttech.com] 
Sent: 13 August 2013 22:47
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] [SPAM] Re: multi-language bundle - A BIG THANKS

Thanks Neil,

Before I look at moving over to 3.8 could you let me know what I would have to 
do to use the extended BA to test how that works with 3.7. Basically what 
changes do I have to make and if there are any files I have to be editing to 
actually make it work?

I have not done alot of Win 8 testing, but with the sound of it it looks like 
I'll have to start soon as we are releasing many projects that support multiple 
languages and therefore I better make sure we do not have issues with our 
current WiX installers.

Tim



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-experiences-making-a-multi-language-bundle-tp7208949p7587998.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use a TargetProperty in a Verb in a ProgId, for file association

2013-08-14 Thread Phill Hogland
I do not feel qualified to answer your question, which is why I did not
comment earlier.  I am not using heat (or rather I used it to make my first
wxs and then decided to do a lot of editing) and I got the file association
stuff working a few weeks ago, for the first time.  I started from a sample
that used ProgId but had issues with that approach.  Generally I try to
stick to the one resource per component model, but for me to get it to work
I put the Extension elements as childs of the same component as the target
file.  So maybe there is another approach, but here is my code:


  Fragment
ComponentGroup Id=QD
  Component Directory=AppDir
File KeyPath=yes Source=$(var.SourceDir)AppDir\App.exe
  Shortcut Id=StartShortcut Name=App
Description=!(loc.ApplicationDescription) Directory=ShortcutDir
WorkingDirectory=AppDir Icon=AppIcon.exe IconIndex=0 Advertise=yes/
  Shortcut Id=DeskShortcut Name=App
Description=!(loc.ApplicationDescription) Directory=DesktopFolder
WorkingDirectory=AppDir Icon=QuickdiscIcon.exe Advertise=yes/
/File
Extension Id=abc Advertise=yes
  Verb Id=open Command=!(loc.ContextMenuOpen)
Argument=quot;%1quot; /
  ?if 1=0?
  MIME Advertise=yes ContentType=quickdisc/qdd Default=yes /
  ?endif?
/Extension
Extension Id=acc Advertise=yes
  Verb Id=open Command=!(loc.ContextMenuOpen)
Argument=quot;%1quot; /
/Extension
  /Component
...other components
   /ComponentGroup
/Fragment


So for me the two file types .abc and .acc are associated with my app and
they invoke self-healing if there is not installed or broken.
 




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Use-a-TargetProperty-in-a-Verb-in-a-ProgId-for-file-association-tp7588039p7588041.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use a TargetProperty in a Verb in a ProgId, for file association

2013-08-14 Thread Phill Hogland
Question ?
Extension Id=galileoGlobalProject 

Is galileoGlobalProject  your file extension like .doc or .png (without
the period)?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Use-a-TargetProperty-in-a-Verb-in-a-ProgId-for-file-association-tp7588039p7588042.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Use a TargetProperty in a Verb in a ProgId, for file association

2013-08-14 Thread jo...@msli.com
Affirmative
On Wed, 2013-08-14 at 14:27 -0700, Phill Hogland wrote:
 Question ?
 Extension Id=galileoGlobalProject 
 
 Is galileoGlobalProject  your file extension like .doc or .png (without
 the period)?
 
 
 
 --
 View this message in context: 
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Use-a-TargetProperty-in-a-Verb-in-a-ProgId-for-file-association-tp7588039p7588042.html
 Sent from the wix-users mailing list archive at Nabble.com.
 
 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead. 
 Download for free and get started troubleshooting in minutes. 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



NOTICE: This email may contain confidential information.  Please see 
http://www.meyersound.com/confidential/ for our complete policy.

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixStdBA - LoadBootstrapperBA changes m_fPrereq

2013-08-14 Thread Sean Hall
Here's what I remember about 3.7, I haven't used 3.8.  The m_fPrereq variable 
is associated with a managed bootstrapper.  m_fPrereq is essentially a boolean 
specifying whether the magic Burn variable WixMbaPrereqPackageId is set (that 
variable specifies the PackageId for .NET).  Since you're not using a managed 
bootstrapper, you probably shouldn't be setting that variable (I didn't have 
any problems with WixStdBA in 3.7 even with that set, though).
Sean

 Date: Wed, 14 Aug 2013 10:21:29 -0700
 From: phogl...@rimage.com
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] WixStdBA - LoadBootstrapperBA changes m_fPrereq
 
 As I step through the Wix 3.8.722 code I observe in:
 src\ext\BalExtension\Wixstdba\WixStandardBootstrapperApplication.cpp
 
 at line 916
 
LoadBootstrapperBAFunctions();
 
 if (m_fPrereq)
 {
 hr = ParsePrerequisiteInformationFromXml(pixdManifest);
 BalExitOnFailure(hr, Failed to read prerequisite
 information.);
 }
 else
 {
 hr = ParseBootrapperApplicationDataFromXml(pixdManifest);
 BalExitOnFailure(hr, Failed to read bootstrapper application
 data.);
 }
 
 Prior to the call to LoadBootstrapperBAFunctions WinDbg shows m_fPrereq as
 undefined.  On entry to this function it is set to zero and when the
 function returns control to the next line (the if statement) m_fPrereq is a
 large positive number 1753485088 (but it is set to several other values as I
 step through LoadBootstrapperBAFunctions.  This is true even when there is
 no BAFunctions.dll specified.
 
 As a result the first part of the if statement is always executed and
 ParseBootrappApplicationDataFromXML is always skipped.
 
 1) Is this correct logic?  It just seems wrong for a
 WixStandardBootstrapperApplication.HyperlinkLargeLicense BA.
 
 2) is ParseBootrappApplicationDataFromXML misspelled (missing the s)?
 
 
 
 --
 View this message in context: 
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixStdBA-LoadBootstrapperBA-changes-m-fPrereq-tp7588034.html
 Sent from the wix-users mailing list archive at Nabble.com.
 
 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite!
 It's a free troubleshooting tool designed for production.
 Get down to code-level detail for bottlenecks, with 2% overhead. 
 Download for free and get started troubleshooting in minutes. 
 http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
  
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How not to uninstall a config file?

2013-08-14 Thread Kai Peters
Hi all,
 
my next problem is this:
 
I have to deal with MSIs that are out in the wild (created with Wise); our next 
MSIs will be created 
with Wix since Wise doesn't exist anymore.
 
These old MSIs have installed an inifile that needs to survive a major upgrade 
coming from the new 
Wix based MSI.
 
 From decompiling an old MSI I conclude that it contained a custom DLL used to 
make a backup of said 
inifile and then copy it back into place at then end of the upgrade.
 
Will I have to do the same or is there (much preferred) a way to achieve this 
without a custom dll?
 
TIA,
Kai

PS: Thanks again, Blair for all your help!

--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Pending Reboot

2013-08-14 Thread Scott Pfursich
Is there a quick way to check this? I'd like to warn my users that a restart
is needed before they try to install my software and it fails.
I'm using the customBA so I'd like to get access in the RootViewModel.
Thanks!



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bundle-Pending-reboots-tp7579563p7588001.html
   
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users