Re: [WiX-users] Localized bundle: Picking up the right files

2012-02-09 Thread Ian Williams
So I figured out that I needed the license payloads to look like this:



With the important bit being that the name is LCID\license.rtf.  The only way I 
was able to figure this out was by looking at through the wix sources.  Looking 
at them makes me think that the "thm.xml" is also correct, but whenever I do 
this the installer doesn't seem to work: invoking with -lang  does nothing and exits immediately.  Has anyone been able to load a 
thm.xml per language?

Thanks,
Ian

-Original Message-
From: Ian Williams [mailto:iawil...@microsoft.com] 
Sent: Wednesday, February 08, 2012 2:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Localized bundle: Picking up the right files

Using WixStdba.RtfLicense, I'm able to localize various strings with the .wxl.  
But I'm having difficulty customizing the theme with the .xml files, and I 
can't figure out how to get a different license to load for each language.








  
   ...

 
  
   ...

 
  
  



What am I doing wrong in the Payload specification? Are these supported by 
WixStandardBootstrapperApplication.RtfLicense at this time?


Thanks,
Ian

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers is just 
$99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style 
Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users






--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] BootstrapperApplication.DetectMsiFeature not fired

2012-02-09 Thread Alexander Krivács Schrøder
No, I did not. Must be a relatively new thing (I haven't worked on my BA for a 
while due to previous bugs in WiX), I didn't have to do that last time. Thanks 
for explaining. :-)

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: 9. February 2012 04:54
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] BootstrapperApplication.DetectMsiFeature not fired

On 06-Feb-12 06:44, Alexander Krivács Schrøder wrote:
> I'm using the WiX v3.6 Beta (v3.6.2221.0) here. This functionality has worked 
> before, but now, the DetectMsiFeature event does not fire at all upon calling 
> Engine.Detect().

Did you set MsiPackage/@EnableFeatureSelection?

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


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Optionally keep a file on MajorUpgrade

2012-02-09 Thread Alexander Krivács Schrøder
My RemoveExistingProducts looks like this:



What exactly does "towards the end" mean? InstallFinalize?

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: 8. February 2012 19:06
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Optionally keep a file on MajorUpgrade

Where is your RemoveExistingProducts sequenced? If it was towards the end, the 
upgrade would behave more like an update and replace only files with higher 
versions and not replace altered data files (when they have the same component 
guid). 

BTW Permanent really means permanent. It's a setting in the project, but once 
you install a component that's permanent it's permanent on the system. Why 
expect it mean not permanent? 

Phil W 

-Original Message-
From: Alexander Krivács Schrøder [mailto:alexander.schro...@mermaid.no]
Sent: Wednesday, February 08, 2012 6:11 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Optionally keep a file on MajorUpgrade

I have an installer that installs a configuration file, like so:


  

  

KEEP_EXISTING_CONFIG = 1 AND 
APPCONFIGEXISTS  ...


The APPCONFIGEXISTS is brought out like so:







  



  



The KEEP_EXISTING_CONFIG is a command-line variable, sent in to msiexec.exe.

This configuration alone does not do the trick (obviously, since I'm asking 
here) as the configuration file is removed by the next version of the MSI 
before it starts its installation. The Component element has a "Permanent" 
property, but with that one enabled, it certainly does not behave as expected 
(does not get removed on uninstall, never gets replaced on upgrade, regardless 
of what the value of KEEP_EXISTING_CONFIG is).

Any ideas?
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers is just 
$99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style 
Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-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/en/legal/default.aspx.

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



--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers is just 
$99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style 
Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Accessing the property values from deferred custom action created dynamically in other CA

2012-02-09 Thread Bojan Panjevic
I'm making an installer which must configure a web service it installs. It
dynamically generates properties which hold the data collected from the
user in the UI sequence, installs the service and sets the parameters.

SetParams CA uses dynamic properties generated in the UI sequence. To
access data in deferred CA, I've created an immediate CA which dynamically
extracts session data and puts it in the CustomActionData.





  

Following is the part of SaveParameters method in the custom action

customActionData.Append(string.Format(CultureInfo.InvariantCulture,
"{0}={1};", propertyName, session[propertyName]));

This approach works! When started from admin cmd session[propertyName]
returns the correct value, but when I run the installer change from
non-elevated cmd prompt, I cannot access the property values in the
immediate CA - session[propertyName] returns empty string ?!

I can access the (static) property defined in wxs file



but not the one's I've added in some other immediate custom action in the
UI sequence like this

session[property] = "VALUE"; //eq. property = DATABASENAME

Does anyone have any idea why I cannot read the dynamic public property
value?


-- 
Pozdrav,
Bojan
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using IF condition based on a Property's Value

2012-02-09 Thread David Watson
 is a pre-processor directive and is acted upon during compilation not
at install time.

You can detect the software and set a property, this property can be used in
a condition on a component or a custom action.

-Original Message-
From: Hari kris [mailto:harikr...@hotmail.com] 
Sent: 09 February 2012 00:41
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using IF condition based on a Property's Value








Hi,
 
We have the following scenario:
 
During installation we are checking for a particular Software and if it is
present we need to do some action. Can this be achieved by using IF condition
? Is it possible to use a property in an IF condition?
 Can we
use a property instead of $(var.test) ? Is it possible to run or not run a
custom action based on a property's value 
 
Any help appreciated.
 
Thanks,
Hari  

  
-
-
Virtualization & Cloud Management Using Capacity Planning Cloud computing
makes use of virtualization - but cloud computing also focuses on allowing
computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
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.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix: Installing a Component while Repair Or Reinstall

2012-02-09 Thread Farrukhw
*Problem:*
I have a User Requirement in which a file would not be installed if a
Prerequisite application is absent on users machine. But after installing my
product, when user would install that Prerequisite application, he would run
my installer and choose repair to install that missing file and its related
registry entries.

*My expectations:*
I know Repair would only repair those files that would already been
installed by first installation. But isn't there any workaround about
this???

Any here and ther with AddLocal???

Thanks a bunch in advance.


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Installing-a-Component-while-Repair-Or-Reinstall-tp7269151p7269151.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Localized bundle: Picking up the right files

2012-02-09 Thread Sam Morris
On Thu, 09 Feb 2012 07:57:52 +, Ian Williams wrote:

> So I figured out that I needed the license payloads to look like this:
> 
>  SourceFile="path_to_license.rtf" />
> 
> With the important bit being that the name is LCID\license.rtf.  The
> only way I was able to figure this out was by looking at through the wix
> sources.

You've already worked this out, but for anyone else who hasn't--when you 
set the WixStdBaLicenseRTF WixVariable, you are just overriding the 
@SourceFile of the license Payload that is implicitely included when you 
add your BootstrapperApplicationRef; the @Name remains "license.rtf". So 
if you want a per-theme license file, you have to call it "LCID
\license.rtf" where LCID is the locale ID.

The same goes for WixStdbaThemeWxl ("thm.wxl") and WixStdbaThemeXml 
("thm.xml"). But when you have a per-locale theme file, there is one 
additional caveat to be aware of:

> Looking at them makes me think that the "thm.xml" is also
> correct, but whenever I do this the installer doesn't seem to work:
> invoking with -lang  does nothing and exits
> immediately.  Has anyone been able to load a thm.xml per language?

I am guessing your themes refer to "logo.png". If you don't include a 
logo.png file in the per-LCID directory, the bootstrapper will log 
something like "failed to create theme controls") to the installation log 
and exit without presenting any UI to the user.

Either provide a logo.png Payload in each LCID directory, or modify your 
per-LCID themes to refer to "..\logo.png" so that they get the default 
logo.

BTW, I figured this out with Process Monitor from SysInternals. An 
invaluable tool for diagnosing such issues!

I recently posted some of the other problems I had to work around in 
creating a localized bundle; you can read it at . I'd be 
interested to hear if you can add anything that I missed out.

-- 
Sam Morris


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] registry search overridden when "Program Files" encountered

2012-02-09 Thread Marius Bancila
Hi,

I have the following problem installing to a path read from the registry.
I'm using WIX 3.5 (and currently testing on a Win7 64-bit).

I'm doing a registry search like this:

  
 
  

Then I use it like this:

  
 

   
  
   

 
  

I'm expected to install in the path read from Registry, or if it's missing
under (32-bit) Program Files\MyCompany\MyProduct.
I must mention that the target platform for the project is x86.

Everything works fine when the Path value does not start with "C:\Program
Files" (for intance C:\Program Files\MyCompany\MyProduct). In this case
somehow the property is always set to "C:\Program Files (x86)\etcetc" (i.e.
C:\Program Files (x86)\MyCompany\MyProduct). Obviously I don't want that. I
guess the Windows Installer thinks he knows better and replaces it, but I
want to install to that exact location. If for instance Path is "C:\my
Program Files\etcetc\" then there is no problem.

Has anyone ran into this problem and knows the cause? I need to find a
solution for this.

Thank you very much,
Marius Bancila
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CustomAction not running

2012-02-09 Thread jhennessey
No you need to know the name of the standard or custom action that you want
it to run after or before.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CustomAction-not-running-tp7263897p7269311.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix: Installing a Component while Repair Or Reinstall

2012-02-09 Thread jhennessey
If you are using a condition on your component then you set
Component/@Transitive to "yes". That should force Windows Installer to
reevaluate the condition during reinstall.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Installing-a-Component-while-Repair-Or-Reinstall-tp7269151p7269868.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] registry search overridden when "Program Files" encountered

2012-02-09 Thread jhennessey
Windows Installer does this be design so you really shouldn't try working
around it. But, see this post for more information: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-allow-32-bit-installer-to-write-to-C-Program-Files-td5544693.html#a5550286
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-allow-32-bit-installer-to-write-to-C-Program-Files-td5544693.html#a5550286
 

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/registry-search-overridden-when-Program-Files-encountered-tp7269271p7269898.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error creating a bundle with a colon in the name: error LGHT0001: length cannot be less than zero

2012-02-09 Thread Sam Morris
light 3.6.2520.0 fails when run on the following file.


http://schemas.microsoft.com/wix/2006/wi"; 
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"; 
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension";>









Here's the error message:

$ light colon.wxs -ext WixBalExtension
Microsoft (R) Windows Installer Xml Linker version 3.6.2520.0
Copyright (C) Microsoft Corporation. All rights reserved.

light.exe : error LGHT0001 : Length cannot be less than zero.
Parameter name: length

Exception Type: System.ArgumentOutOfRangeException

Stack Trace:
   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 
length, Boolean fAlwaysCopy)
   at 
Microsoft.Tools.WindowsInstallerXml.Binder.BundleInfo..ctor(String bundleFile, 
Row row)
   at Microsoft.Tools.WindowsInstallerXml.Binder.BindBundle(Output 
bundle, String bundleFile)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, 
String file)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)

This happens because ParseBundleElement sets a variable,
logVariablePrefixAndExtension that concatanates the Bundle/Log element's
PathVariable and Extension attributes, using a colon as a separator. It
doesn't replace any colons already in the Prefix attribute, so later on
the Binder gets confused when it splits the string on colon
characters...

I can file this as a bug if someone can add me to the project (sf
username: rrsam)

-- 
Sam Morris 
Red Redemption



--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] registry search overridden when "Program Files" encountered

2012-02-09 Thread Pally Sandher
ProgramFilesFolder = "Program Files (x86)" -> 
http://msdn.microsoft.com/en-us/library/aa370881.aspx
ProgramFiles64Folder = "Program Files" -> 
http://msdn.microsoft.com/en-us/library/aa370880.aspx

You can't write to 64-bit locations from 32-bit processes such as msiexec 
running your x86 package. Either make a x64 package or live with it.

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

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


-Original Message-
From: Marius Bancila [mailto:marius.banc...@gmail.com] 
Sent: 09 February 2012 13:32
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] registry search overridden when "Program Files" encountered

Hi,

I have the following problem installing to a path read from the registry.
I'm using WIX 3.5 (and currently testing on a Win7 64-bit).

I'm doing a registry search like this:

  
 
  

Then I use it like this:

  
 

   
  
   

 
  

I'm expected to install in the path read from Registry, or if it's missing
under (32-bit) Program Files\MyCompany\MyProduct.
I must mention that the target platform for the project is x86.

Everything works fine when the Path value does not start with "C:\Program
Files" (for intance C:\Program Files\MyCompany\MyProduct). In this case
somehow the property is always set to "C:\Program Files (x86)\etcetc" (i.e.
C:\Program Files (x86)\MyCompany\MyProduct). Obviously I don't want that. I
guess the Windows Installer thinks he knows better and replaces it, but I
want to install to that exact location. If for instance Path is "C:\my
Program Files\etcetc\" then there is no problem.

Has anyone ran into this problem and knows the cause? I need to find a
solution for this.

Thank you very much,
Marius Bancila
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix: Installing a Component while Repair Or Reinstall

2012-02-09 Thread Farrukhw
Hi jhennessey
Thanks for the reply. 

Yes, there is a condition on the component which is defined by a vbscript
custom action scheduled in Execute Sequence after CostFinalize, so that is
running during reinstall.

*But what if the component is not installed at first installation? Would
Component/@Transitive=yes make it to install during reinstall?*

Best regards

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Installing-a-Component-while-Repair-Or-Reinstall-tp7269151p7270074.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix: Installing a Component while Repair Or Reinstall

2012-02-09 Thread jhennessey
>But what if the component is not installed at first installation? Would
Component/@Transitive=yes make it to install during reinstall?

Yes, as long as the component condition evaluates to true during reinstall.
Take a look at the WiX help file. It describes the attribute very well.


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Installing-a-Component-while-Repair-Or-Reinstall-tp7269151p7270135.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix: Installing a Component while Repair Or Reinstall

2012-02-09 Thread Farrukhw
Thanks a bunch 

I will definitely give it a try.

Best regards

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Installing-a-Component-while-Repair-Or-Reinstall-tp7269151p7270180.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Localized bundle: Picking up the right files

2012-02-09 Thread Ian Williams
Thanks for the help Sam.

Yes, I read your other thread (which was VERY helpful, by the way).  So far 
your comments are the same as mine.  Over the next week or two I'll find out if 
there are any more issues that you haven't commented on, and I'll be sure to 
follow up in the thread.

Thanks again,
Ian

-Original Message-
From: Sam Morris [mailto:s...@red-redemption.com] 
Sent: Thursday, February 09, 2012 5:07 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Localized bundle: Picking up the right files

On Thu, 09 Feb 2012 07:57:52 +, Ian Williams wrote:

> So I figured out that I needed the license payloads to look like this:
> 
>  SourceFile="path_to_license.rtf" />
> 
> With the important bit being that the name is LCID\license.rtf.  The 
> only way I was able to figure this out was by looking at through the 
> wix sources.

You've already worked this out, but for anyone else who hasn't--when you set 
the WixStdBaLicenseRTF WixVariable, you are just overriding the @SourceFile of 
the license Payload that is implicitely included when you add your 
BootstrapperApplicationRef; the @Name remains "license.rtf". So if you want a 
per-theme license file, you have to call it "LCID \license.rtf" where LCID is 
the locale ID.

The same goes for WixStdbaThemeWxl ("thm.wxl") and WixStdbaThemeXml 
("thm.xml"). But when you have a per-locale theme file, there is one additional 
caveat to be aware of:

> Looking at them makes me think that the "thm.xml" is also correct, but 
> whenever I do this the installer doesn't seem to work:
> invoking with -lang  does nothing and exits 
> immediately.  Has anyone been able to load a thm.xml per language?

I am guessing your themes refer to "logo.png". If you don't include a logo.png 
file in the per-LCID directory, the bootstrapper will log something like 
"failed to create theme controls") to the installation log and exit without 
presenting any UI to the user.

Either provide a logo.png Payload in each LCID directory, or modify your 
per-LCID themes to refer to "..\logo.png" so that they get the default logo.

BTW, I figured this out with Process Monitor from SysInternals. An invaluable 
tool for diagnosing such issues!

I recently posted some of the other problems I had to work around in creating a 
localized bundle; you can read it at . I'd be interested 
to hear if you can add anything that I missed out.

--
Sam Morris


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users






--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX training in Europe

2012-02-09 Thread Cayas
And another one is here 
http://www.it-seminare.de/serversysteme-infrastruktur/ms-backoffice/windows-installer-xml-wix.html
http://www.it-seminare.de . I did one for them this week.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-training-in-Europe-tp4679317p7270471.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] registry search overridden when "Program Files" encountered

2012-02-09 Thread Marius Bancila
Here is the situation: I have this application that is available both as
32-bit and 64-bit. Now I'm building an installer for an SDK for the app,
consisting on documents, .NET samples and other files. These are all
platform independent. However, they (some of them at least) must be
installed in the same place with the app (the reason is not important for
the discussion). I don't want to make two packages and tell the customers
"if you have 32-bit app, run this setup, if you have the 64-bit app run the
other". I want to make it simple for customers, and so I want a single
setup to be able to handle all these.

On Thu, Feb 9, 2012 at 7:52 PM, Pally Sandher wrote:

> ProgramFilesFolder = "Program Files (x86)" ->
> http://msdn.microsoft.com/en-us/library/aa370881.aspx
> ProgramFiles64Folder=
>  "Program Files" ->
> http://msdn.microsoft.com/en-us/library/aa370880.aspx
>
> You can't write to 64-bit locations from 32-bit processes such as msiexec
> running your x86 package. Either make a x64 package or live with it.
>
> Palbinder Sandher
> Software Platform Engineer
> T:+44 (0) 141 945 8500
> F:+44 (0) 141 945 8501
> http://www.iesve.com
>
> **Design, Simulate + Innovate with the **
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
> G20 0SP
> Email Disclaimer
>
>
> -Original Message-
> From: Marius Bancila [mailto:marius.banc...@gmail.com]
> Sent: 09 February 2012 13:32
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] registry search overridden when "Program Files"
> encountered
>
> Hi,
>
> I have the following problem installing to a path read from the registry.
> I'm using WIX 3.5 (and currently testing on a Win7 64-bit).
>
> I'm doing a registry search like this:
>
>  
>Root='HKCU' Key='Software\MyApplication' Name='Path' />
>  
>
> Then I use it like this:
>
>  
> 
>
>   
>  
>   
>
> 
>  
>
> I'm expected to install in the path read from Registry, or if it's missing
> under (32-bit) Program Files\MyCompany\MyProduct.
> I must mention that the target platform for the project is x86.
>
> Everything works fine when the Path value does not start with "C:\Program
> Files" (for intance C:\Program Files\MyCompany\MyProduct). In this case
> somehow the property is always set to "C:\Program Files (x86)\etcetc" (i.e.
> C:\Program Files (x86)\MyCompany\MyProduct). Obviously I don't want that. I
> guess the Windows Installer thinks he knows better and replaces it, but I
> want to install to that exact location. If for instance Path is "C:\my
> Program Files\etcetc\" then there is no problem.
>
> Has anyone ran into this problem and knows the cause? I need to find a
> solution for this.
>
> Thank you very much,
> Marius Bancila
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error creating a bundle with a colon in the name: error LGHT0001: length cannot be less than zero

2012-02-09 Thread Bob Arnson
On 09-Feb-12 12:22, Sam Morris wrote:
> doesn't replace any colons already in the Prefix attribute, so later on
> the Binder gets confused when it splits the string on colon
> characters...
Yep, not good.

> I can file this as a bug if someone can add me to the project (sf
Anyone can file bugs.

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


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patching and Pyro Warning PYRO1110

2012-02-09 Thread Elfe Xu
Echo on the question.
I have exactly the same problem:
In my product V1.0, I have
FeatureCommon (always be installed)
  Common.dll
FeatureA (optional)
  A1.dll
FeatureB (optional)
 B1.dll

In my product V1.1 I added A2.dll to feature A
   FeatureCommon (always be installed)
  Common.dll
FeatureA (optional)
  A1.dll
  A2.dll
FeatureB (optional)
 B1.dll

Thus I add ComponentRef Id=cmpA2DLL to the PatchFamily, then I got error of
   Component 'cmpA2DLL' was added to feature FeatureA. If you cannot
guarantee this feature will always be installed, you should consider adding
new components to top-level features to prevent prompts for source when
installing this patch.

Does it mean, if I want to add A2.dll, I must have a new top-level
FeatureA2? Then I could I make sure FeatureA2 will be installed when
patching if and only if FeatureA is installed? Manually write several
pre-check?

Anyone can give me a sample of how to make the patch correct for this
scenario?

Thanks,
-Elfe

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patching-and-Pyro-Warning-PYRO1110-tp7256794p7271713.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users