Re: [WiX-users] Help with adding new elements using XMLConfig

2014-03-28 Thread Uma Harano
Hi Mike,
I got the installation to work using the Node=document method. The xml 
content is now correctly written during install mode.
To remove the xml content during uninstall, I need to specify each node in a 
sequence (working from the child elements to outer elements), correct? I cannot 
use the Node=document and pass the entire xml snippet?

Thanks!
Uma-

-Original Message-
From: Michael Turner [mailto:mcturner...@gmail.com] 
Sent: Wednesday, March 26, 2014 9:16 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Help with adding new elements using XMLConfig

Uma,

First of all, I don't think you can insert XML before a given node using
XmlConfig; you can only append a new child to a given parent node.
(http://stackoverflow.com/q/8224918)

Also, there are two nodes that match your XPath expression, and XmlConfig
only uses the first match.  Since you know that the node you have just added
will always be the last one (due to the append behavior), you should try
this XPath for your 1002 expression instead:

ElementPath=//SnippetCollection//Language/SnippetDir[\[]last()[\]]

Notice that you must escape the square brackets per
http://msdn.microsoft.com/library/aa368609.aspx

I am not certain whether the last() function actually works on XmlConfig,
but this should get you closer.  If that does not work, then you can try
this instead:

  lt;util:XmlConfig On=quot;installquot; Action=quot;createquot;
Id=quot;CreateSnippetDirquot; Node=quot;documentquot;
File=quot;lt;Path to Xmlgt;\snippetsindex.xml
ElementPath=//SnippetCollection//Language
  xmlns:util=http://schemas.microsoft.com/wix/UtilExtensiongt;
 
lt;![CDATA[lt;SnippetDirgt;lt;OnOffgt;Offlt;/OnOffgt;lt;!-- More
Stuff --gt;lt;/SnippetDirgt;]]gt;
  lt;/util:XmlConfiggt;

If you use this, it can replace both of your XmlConfig elements, since it
combines them into a single operation.  Note the Node=document, which lets
you specify the XML content to insert, as inner-text of the XmlConfig node. 
I am not sure whether the Node=document construct treats the inner-text as
a Formatted String (http://msdn.microsoft.com/library/aa368609.aspx) or
not, so if your More Stuff contains any square brackets or [PropertyName]
expressions, you may need to experiment to see how it behaves.

Regards,
Mike


uharano wrote
 I want to add the highlighted lines with my setup:
 SnippetCollection
 
 Language Lang=CSharp Guid={694DD9B6-B865-4C5B-AD85-86356E9C88DC}
 lt;!-- BEGIN HIGHLIGHT --gt;
 
 SnippetDir
 
 OnOff
 Off
 /OnOff
 lt;!-More stuff --gt;
 
 /SnippetDir
 lt;!-- END HIGHLIGHT --gt;
 
 SnippetDir
 
 OnOff
 On
 /OnOff
 
 Installed
 true
 /Installed
 
 Locale
 1033
 /Locale
 
 DirPath
 %InstallRoot%\VC#\Snippets\%LCID%\Visual C#\
 /DirPath
 
 LocalizedName
 Visual C#
 /LocalizedName
 
 /SnippetDir
 
 /Language
 /SnippetCollection
 In Wix these are my lines of code:
   lt;util:XmlConfig On=quot;installquot; Action=quot;createquot;
 Id=quot;CreateSnippetDirquot; Node=quot;elementquot;
 File=quot;lt;Path to Xmlgt;\snippetsindex.xml
 ElementPath=//SnippetCollection//Language Sequence=1001
   xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
 Name=SnippetDir  /
   lt;util:XmlConfig On=quot;installquot; Action=quot;createquot;
 Id=quot;CreateOnOffquot; Node=quot;elementquot; File=quot;lt;Path to
 Xmlgt;\snippetsindex.xml\snippetsindex.xml
 ElementPath=//SnippetCollection//Language/SnippetDir Sequence=1002
   xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
 Name=OnOff Value=off /





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Help-with-adding-new-elements-using-XMLConfig-tp7593764p7593776.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help with adding new elements using XMLConfig

2014-03-26 Thread Uma Harano
Hi Mike,
Option 1 did not work - I got a message saying: 
Failed to find snippet node //SnippetCollection//Language/SnippetDir[last()]

With option 2 (which was very promising and such a simple solution for me) I 
get this error in the MSI log. The setup just rolls back immediately:
ExecXmlConfig:  Error 0x8007006e: Failed to load value as document.

Note: for option 2, I do not have any square brackets or properties that need 
to be escaped. I even tried it with a very simple one line XML.

Thanks!
Uma-





-Original Message-
From: Michael Turner [mailto:mcturner...@gmail.com] 
Sent: Wednesday, March 26, 2014 9:16 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Help with adding new elements using XMLConfig

Uma,

First of all, I don't think you can insert XML before a given node using 
XmlConfig; you can only append a new child to a given parent node.
(http://stackoverflow.com/q/8224918)

Also, there are two nodes that match your XPath expression, and XmlConfig only 
uses the first match.  Since you know that the node you have just added will 
always be the last one (due to the append behavior), you should try this XPath 
for your 1002 expression instead:

ElementPath=//SnippetCollection//Language/SnippetDir[\[]last()[\]]

Notice that you must escape the square brackets per 
http://msdn.microsoft.com/library/aa368609.aspx

I am not certain whether the last() function actually works on XmlConfig, but 
this should get you closer.  If that does not work, then you can try this 
instead:

  lt;util:XmlConfig On=quot;installquot; Action=quot;createquot; 
Id=quot;CreateSnippetDirquot; Node=quot;documentquot; File=quot;lt;Path 
to Xmlgt;\snippetsindex.xml
ElementPath=//SnippetCollection//Language
  xmlns:util=http://schemas.microsoft.com/wix/UtilExtensiongt;
 
lt;![CDATA[lt;SnippetDirgt;lt;OnOffgt;Offlt;/OnOffgt;lt;!-- More Stuff 
--gt;lt;/SnippetDirgt;]]gt;
  lt;/util:XmlConfiggt;

If you use this, it can replace both of your XmlConfig elements, since it 
combines them into a single operation.  Note the Node=document, which lets 
you specify the XML content to insert, as inner-text of the XmlConfig node. 
I am not sure whether the Node=document construct treats the inner-text as a 
Formatted String (http://msdn.microsoft.com/library/aa368609.aspx) or not, so 
if your More Stuff contains any square brackets or [PropertyName] 
expressions, you may need to experiment to see how it behaves.

Regards,
Mike


uharano wrote
 I want to add the highlighted lines with my setup:
 SnippetCollection
 
 Language Lang=CSharp Guid={694DD9B6-B865-4C5B-AD85-86356E9C88DC}
 lt;!-- BEGIN HIGHLIGHT --gt;
 
 SnippetDir
 
 OnOff
 Off
 /OnOff
 lt;!-More stuff --gt;
 
 /SnippetDir
 lt;!-- END HIGHLIGHT --gt;
 
 SnippetDir
 
 OnOff
 On
 /OnOff
 
 Installed
 true
 /Installed
 
 Locale
 1033
 /Locale
 
 DirPath
 %InstallRoot%\VC#\Snippets\%LCID%\Visual C#\ /DirPath
 
 LocalizedName
 Visual C#
 /LocalizedName
 
 /SnippetDir
 
 /Language
 /SnippetCollection
 In Wix these are my lines of code:
   lt;util:XmlConfig On=quot;installquot; 
 Action=quot;createquot; Id=quot;CreateSnippetDirquot; 
 Node=quot;elementquot; File=quot;lt;Path to Xmlgt;\snippetsindex.xml
 ElementPath=//SnippetCollection//Language Sequence=1001
   xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
 Name=SnippetDir  /
   lt;util:XmlConfig On=quot;installquot; 
 Action=quot;createquot; Id=quot;CreateOnOffquot; 
 Node=quot;elementquot; File=quot;lt;Path to 
 Xmlgt;\snippetsindex.xml\snippetsindex.xml
 ElementPath=//SnippetCollection//Language/SnippetDir Sequence=1002
   xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
 Name=OnOff Value=off /





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Help-with-adding-new-elements-using-XMLConfig-tp7593764p7593776.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Help with adding new elements using XMLConfig

2014-03-25 Thread Uma Harano
Hi,
I am using the XMLConfig element in Wix 3.8 to add to an existing XML file.

The xml file looks like this before running setup:

SnippetCollection
Language Lang=CSharp Guid={694DD9B6-B865-4C5B-AD85-86356E9C88DC}
SnippetDir
OnOffOn/OnOff
Installedtrue/Installed
Locale1033/Locale
DirPath%InstallRoot%\VC#\Snippets\%LCID%\Visual C#\/DirPath
LocalizedNameVisual C#/LocalizedName
/SnippetDir
/Language
/SnippetCollection

I want to add the highlighted lines with my setup:

SnippetCollection
Language Lang=CSharp Guid={694DD9B6-B865-4C5B-AD85-86356E9C88DC}
SnippetDir
OnOffOff/OnOff
!-More stuff --
/SnippetDir
SnippetDir
OnOffOn/OnOff
Installedtrue/Installed
Locale1033/Locale
DirPath%InstallRoot%\VC#\Snippets\%LCID%\Visual C#\/DirPath
LocalizedNameVisual C#/LocalizedName
/SnippetDir
/Language
/SnippetCollection

In Wix these are my lines of code:
  util:XmlConfig On=install Action=create Id=CreateSnippetDir 
Node=element File=Path to Xml\snippetsindex.xml 
ElementPath=//SnippetCollection//Language Sequence=1001
  xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; 
Name=SnippetDir  /
  util:XmlConfig On=install Action=create Id=CreateOnOff 
Node=element File=Path to Xml\snippetsindex.xml\snippetsindex.xml 
ElementPath=//SnippetCollection//Language/SnippetDir Sequence=1002
  xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; Name=OnOff 
Value=off /

Executing this, the resulting xml looks like this. Please note how the OnOff 
element is added within the existing SnippetDir element, not inside the new 
SnippetDir element:

SnippetCollection
Language Lang=CSharp Guid={694DD9B6-B865-4C5B-AD85-86356E9C88DC}
SnippetDir
OnOffOn/OnOff
Installedtrue/Installed
Locale1033/Locale
DirPath%InstallRoot%\VC#\Snippets\%LCID%\Visual C#\/DirPath
LocalizedNameVisual C#/LocalizedName
OnOffon/OnOff/SnippetDir

SnippetDir//Language
/SnippetCollection

Can you please help me understand how I can fix this?
Thanks
Uma-

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] .NET support question for custom actions

2013-10-03 Thread Uma Harano
Hi,
I have a Visual Studio solution that uses DTF to create Custom Actions for my 
setup. I am using WiX 3.6. The custom actions need to work on machines that 
have  .NET Framework 3.5 sp1 or .NET 4.5. My CustomAction.config file has this 
information:

startup useLegacyV2RuntimeActivationPolicy=true
supportedRuntime version=v4.0 /
  supportedRuntime version=v2.0.50727/

When I run the setup that includes these custom actions on a Windows 8.1 
machine that has only .NET 4.5, everything works. But when I run the same msi 
on a Server 2008 R2 machine that has only .NET 3.5 SP1, the setup crashes. This 
is the info from the log:

Invoking remote custom action. DLL: 
C:\Users\uma2526\AppData\Local\Temp\MSIC72C.tmp, Entrypoint: GetSiteCount
SFXCA: Extracting custom action to temporary directory: 
C:\Users\uma2526\AppData\Local\Temp\MSIC72C.tmp-\
SFXCA: Failed to get requested CLR info. Error code 0x80131700
SFXCA: Ensure that the proper version of the .NET Framework is installed, or 
that there is a matching supportedRuntime element in CustomAction.config. If 
you are binding to .NET 4 or greater add 
useLegacyV2RuntimeActivationPolicy=true to the startup element.
CustomAction DotNetGetWebsiteCount returned actual error code 1603 (note this 
may not be 100% accurate if translation happened inside sandbox)

How can I get my msi program to work on both scenarios?
Thanks!
Uma-
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] .NET support question for custom actions

2013-10-03 Thread Uma Harano
Clarification: I am using WiX 3.5 tool set to build this right now.



-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Thursday, October 03, 2013 3:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] .NET support question for custom actions

Hi,
I have a Visual Studio solution that uses DTF to create Custom Actions for my 
setup. I am using WiX 3.6. The custom actions need to work on machines that 
have  .NET Framework 3.5 sp1 or .NET 4.5. My CustomAction.config file has this 
information:

startup useLegacyV2RuntimeActivationPolicy=true
supportedRuntime version=v4.0 /
  supportedRuntime version=v2.0.50727/

When I run the setup that includes these custom actions on a Windows 8.1 
machine that has only .NET 4.5, everything works. But when I run the same msi 
on a Server 2008 R2 machine that has only .NET 3.5 SP1, the setup crashes. This 
is the info from the log:

Invoking remote custom action. DLL: 
C:\Users\uma2526\AppData\Local\Temp\MSIC72C.tmp, Entrypoint: GetSiteCount
SFXCA: Extracting custom action to temporary directory: 
C:\Users\uma2526\AppData\Local\Temp\MSIC72C.tmp-\
SFXCA: Failed to get requested CLR info. Error code 0x80131700
SFXCA: Ensure that the proper version of the .NET Framework is installed, or 
that there is a matching supportedRuntime element in CustomAction.config. If 
you are binding to .NET 4 or greater add 
useLegacyV2RuntimeActivationPolicy=true to the startup element.
CustomAction DotNetGetWebsiteCount returned actual error code 1603 (note this 
may not be 100% accurate if translation happened inside sandbox)

How can I get my msi program to work on both scenarios?
Thanks!
Uma-
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register  
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] log stdout and stderr to the msi log

2013-05-20 Thread Uma Harano
Yes! It is a Windows NT service.


-Original Message-
From: Christopher Painter [mailto:chr...@iswix.com] 
Sent: Friday, May 17, 2013 3:41 PM
To: General discussion for Windows Installer XML toolset.; General discussion 
for Windows Installer XML toolset.
Subject: Re: [WiX-users] log stdout and stderr to the msi log

Is this a Windows (NT) service? (ie net start servicename)


 From: Uma Harano uhar...@esri.com
Sent: Friday, May 17, 2013 4:51 PM
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] log stdout and stderr to the msi log

The service I have been asked to create can only be created by calling the java 
process.

-Original Message-
From: Mike Carlson [mailto:corf...@gmail.com]
Sent: Friday, May 17, 2013 2:11 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] log stdout and stderr to the msi log

I don't know the direct answer to your question, but taking a step back, have 
you considered any alternatives instead of adding a custom action?
Custom actions are notoriously difficult to write correctly, and very, very 
easy to get wrong. A custom action that invokes an external process (such as 
java.exe) is *especially* likely to result in a product that doesn't reliably 
install or repair on all machines, and may also be difficult to service or 
patch.

What problem is your custom action meant to solve? Perhaps there is another way 
to solve that problem, without having to write and maintain a custom action at 
all.

On Fri, May 17, 2013 at 1:46 PM, Uma Harano uhar...@esri.com wrote:

 Hi,
 Is there a way by which I can log (to the msi log) the stdout and 
 strerr while running my custom action that is written in C++? I am 
 calling a process using java.exe and I need to log the output to the 
 msi log. Is this possible?

 Thanks!
 Uma Harano

 --
  AlienVault Unified Security Management (USM) platform 
 delivers complete security visibility with the essential security 
 capabilities. Easily and efficiently configure, manage, and operate 
 all of your security controls from a single console and one unified 
 framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] log stdout and stderr to the msi log

2013-05-17 Thread Uma Harano
Hi,
Is there a way by which I can log (to the msi log) the stdout and strerr while 
running my custom action that is written in C++? I am calling a process using 
java.exe and I need to log the output to the msi log. Is this possible?

Thanks!
Uma Harano
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] log stdout and stderr to the msi log

2013-05-17 Thread Uma Harano
The service I have been asked to create can only be created by calling the java 
process.

-Original Message-
From: Mike Carlson [mailto:corf...@gmail.com] 
Sent: Friday, May 17, 2013 2:11 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] log stdout and stderr to the msi log

I don't know the direct answer to your question, but taking a step back, have 
you considered any alternatives instead of adding a custom action?
Custom actions are notoriously difficult to write correctly, and very, very 
easy to get wrong. A custom action that invokes an external process (such as 
java.exe) is *especially* likely to result in a product that doesn't reliably 
install or repair on all machines, and may also be difficult to service or 
patch.

What problem is your custom action meant to solve? Perhaps there is another way 
to solve that problem, without having to write and maintain a custom action at 
all.


On Fri, May 17, 2013 at 1:46 PM, Uma Harano uhar...@esri.com wrote:

 Hi,
 Is there a way by which I can log (to the msi log) the stdout and 
 strerr while running my custom action that is written in C++? I am 
 calling a process using java.exe and I need to log the output to the 
 msi log. Is this possible?

 Thanks!
 Uma Harano

 --
  AlienVault Unified Security Management (USM) platform 
 delivers complete security visibility with the essential security 
 capabilities. Easily and efficiently configure, manage, and operate 
 all of your security controls from a single console and one unified 
 framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
AlienVault Unified Security Management (USM) platform delivers complete 
security visibility with the essential security capabilities. Easily and 
efficiently configure, manage, and operate all of your security controls from a 
single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Translated shortcuts only in one msi

2013-03-19 Thread Uma Harano
Hi,
I have been asked to create a setup msi that has the workflow explained below:

The setup will install the help resources for 14 languages (without using msts, 
just one msi file). One of the dialogs in the setup will ask the user to select 
a language in a drop down list box. If the user selects Italian (for example), 
the shortcut to help will be created in the Program menu pointing to the 
Italian help installed on the machine. The name of the shortcut will be 
translated in Italian. I plan to do this by having 14 components (that contain 
only the help shortcut) in the setup which get installed based on the user 
input.

Is it possible to do this? Note, some of the 14 languages installed will not be 
code page 1252. SO not sure if I can do this without using msts. Is it possible 
to have one msi file contain Arabic, Japanese, Chinese, and other strings?

Thanks!
Uma-

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Components with no componentIDs

2012-10-20 Thread Uma Harano
Thanks!

On Oct 20, 2012, at 10:47 AM, Rob Mensching r...@robmensching.com wrote:

 You want a Component with no GUID? That creates a completely unmanaged
 Comopnent (can't patch it, update it or anything really). If so, set the
 Guid=
 
 On Fri, Oct 19, 2012 at 2:46 PM, Uma Harano uhar...@esri.com wrote:
 
 Hi
 I want to create a few components with no ComponentIDs.
 Can I do this even if the component is a versioned dll?
 
 Thanks
 Uma
 
 
 
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 -- 
 virtually,
 
   Rob Mensching
   http://RobMensching.com LLC
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Components with no componentIDs

2012-10-19 Thread Uma Harano
Hi
I want to create a few components with no ComponentIDs.
Can I do this even if the component is a versioned dll?

Thanks
Uma



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Properties in deferred sequence

2012-10-18 Thread Uma Harano
Hi
Are ProductVersion and ProductLanguage properties available during the deferred 
sequence of the msi?

Thanks
Uma
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patch issue

2012-10-16 Thread Uma Harano
I read in the SDK that the companion file cannot be the key path of the 
component.
In my case, the file that I want to be a companion file (the one that is not 
getting patched) is  key path file.
So I cannot make it a companion file, correct?


-Original Message-
From: Kajal Kumar Biswas [mailto:kbis...@adobe.com] 
Sent: Monday, October 15, 2012 5:42 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patch issue

You could try making it a companion file in your patch.
So, the installation state of a companion file depends not on its own file 
version, but on the version of its companion parent. 
Hence the mst removing the version no. will become ineffective.

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com]
Sent: Monday, October 15, 2012 5:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patch issue

Hi Kajal
Thank you for your email.
Unfortunately the mst has already been released to our customers. We are now 
trying to release the msp patch and it is not patching the file. So we are 
trying to see how we can now fix the problem (so that the msp updates the file 
correctly) caused by the released mst.

Thanks
Uma-

-Original Message-
From: Kajal Kumar Biswas [mailto:kbis...@adobe.com]
Sent: Sunday, October 14, 2012 10:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patch issue

When the mst is applied, the msi cache is not updated with the file version  at 
the end of the installation and hence during patching the file is not updated.
What you can do this try creating the mst correctly, such that it does not 
update the file version in the file table.
Can you let me know how exactly you are trying to create the mst file?

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com]
Sent: Sunday, October 14, 2012 3:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Patch issue

Hi
I have a patching issue I need help with. Version 10.1 of my msi installs a dll 
with version 10.1.0. This is the also the version listed in the File table of 
the msi for this dll. This msi is the English setup. I have embedded msts in 
this msi that localizes the dialogs for this msi. There was a problem with this 
mst, so when this mst is applied over the setup msi, the version of this dll in 
the File table is removed. (The dll installed on the machine is OK, it is just 
the File table of the msi that has the version removed when you apply the mst).

I now have an msp for this Version 10.1 that increments the dll to 10.1.1. I am 
finding that when the localized msi is installed (with the mst that removes the 
file version in the file table), and when the msp is applied over this, the dll 
is not patched.

How can I fix the msp so that the file is successfully patched in this scenario?

Thanks!
Uma Harano
--
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy 
New Relic app performance management and know exactly what is happening inside 
your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and 
get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy 
New Relic app performance management and know exactly what is happening inside 
your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and 
get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy 
New Relic app performance management and know exactly what is happening inside 
your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and 
get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy 
New Relic app performance management and know exactly what is happening inside 
your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and 
get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev

Re: [WiX-users] Patch issue

2012-10-15 Thread Uma Harano
Hi Kajal
Thank you for your email.
Unfortunately the mst has already been released to our customers. We are now 
trying to release the msp patch and it is not patching the file. So we are 
trying to see how we can now fix the problem (so that the msp updates the file 
correctly) caused by the released mst.

Thanks
Uma-

-Original Message-
From: Kajal Kumar Biswas [mailto:kbis...@adobe.com] 
Sent: Sunday, October 14, 2012 10:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patch issue

When the mst is applied, the msi cache is not updated with the file version  at 
the end of the installation and hence during patching the file is not updated.
What you can do this try creating the mst correctly, such that it does not 
update the file version in the file table.
Can you let me know how exactly you are trying to create the mst file?

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com]
Sent: Sunday, October 14, 2012 3:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Patch issue

Hi
I have a patching issue I need help with. Version 10.1 of my msi installs a dll 
with version 10.1.0. This is the also the version listed in the File table of 
the msi for this dll. This msi is the English setup. I have embedded msts in 
this msi that localizes the dialogs for this msi. There was a problem with this 
mst, so when this mst is applied over the setup msi, the version of this dll in 
the File table is removed. (The dll installed on the machine is OK, it is just 
the File table of the msi that has the version removed when you apply the mst).

I now have an msp for this Version 10.1 that increments the dll to 10.1.1. I am 
finding that when the localized msi is installed (with the mst that removes the 
file version in the file table), and when the msp is applied over this, the dll 
is not patched.

How can I fix the msp so that the file is successfully patched in this scenario?

Thanks!
Uma Harano
--
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy 
New Relic app performance management and know exactly what is happening inside 
your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and 
get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy 
New Relic app performance management and know exactly what is happening inside 
your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and 
get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patch issue

2012-10-15 Thread Uma Harano
Thanks! I will try this. 

On Oct 15, 2012, at 5:46 AM, Kajal Kumar Biswas kbis...@adobe.com wrote:

 You could try making it a companion file in your patch.
 So, the installation state of a companion file depends not on its own file 
 version, but on the version of its companion parent. 
 Hence the mst removing the version no. will become ineffective.
 
 -Original Message-
 From: Uma Harano [mailto:uhar...@esri.com] 
 Sent: Monday, October 15, 2012 5:33 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Patch issue
 
 Hi Kajal
 Thank you for your email.
 Unfortunately the mst has already been released to our customers. We are now 
 trying to release the msp patch and it is not patching the file. So we are 
 trying to see how we can now fix the problem (so that the msp updates the 
 file correctly) caused by the released mst.
 
 Thanks
 Uma-
 
 -Original Message-
 From: Kajal Kumar Biswas [mailto:kbis...@adobe.com] 
 Sent: Sunday, October 14, 2012 10:33 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Patch issue
 
 When the mst is applied, the msi cache is not updated with the file version  
 at the end of the installation and hence during patching the file is not 
 updated.
 What you can do this try creating the mst correctly, such that it does not 
 update the file version in the file table.
 Can you let me know how exactly you are trying to create the mst file?
 
 -Original Message-
 From: Uma Harano [mailto:uhar...@esri.com]
 Sent: Sunday, October 14, 2012 3:52 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Patch issue
 
 Hi
 I have a patching issue I need help with. Version 10.1 of my msi installs a 
 dll with version 10.1.0. This is the also the version listed in the File 
 table of the msi for this dll. This msi is the English setup. I have embedded 
 msts in this msi that localizes the dialogs for this msi. There was a problem 
 with this mst, so when this mst is applied over the setup msi, the version of 
 this dll in the File table is removed. (The dll installed on the machine is 
 OK, it is just the File table of the msi that has the version removed when 
 you apply the mst).
 
 I now have an msp for this Version 10.1 that increments the dll to 10.1.1. I 
 am finding that when the localized msi is installed (with the mst that 
 removes the file version in the file table), and when the msp is applied over 
 this, the dll is not patched.
 
 How can I fix the msp so that the file is successfully patched in this 
 scenario?
 
 Thanks!
 Uma Harano
 --
 Don't let slow site performance ruin your business. Deploy New Relic APM 
 Deploy New Relic app performance management and know exactly what is 
 happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at 
 no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 --
 Don't let slow site performance ruin your business. Deploy New Relic APM 
 Deploy New Relic app performance management and know exactly what is 
 happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at 
 no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 

--
Don't let slow site performance ruin your

Re: [WiX-users] Patch issue

2012-10-15 Thread Uma Harano
Hi Matt
The edited msi that the msp targets does the correct 10.1.1 version. 
But the msp is still not patching it. 

I will try the companion file idea that Kajal explained. 

Thanks!

On Oct 15, 2012, at 5:32 AM, Matt O'Connell techsupport...@gmail.com wrote:

 Use the version lying technique: Change the version of this FileId to 
 10.1.1 in your patch upgrade image by editing the msi in orca. Then 
 re-build the patch pointing to your edited MSI.
 
 When the patch installs on top of the localised version it won't matter 
 that the transform has removed this attribute in the actual local MSI 
 being upgraded. Patching only looks at the file table version changes at 
 the time the patch was created. I.E. the patch 'thinks': this FileId was 
 version incremented when I was built so i'll happily apply the transform 
 to it. (Make sure your actual file verison matches your edits otherwise 
 you'll get request for source issues on repair).
 
 
 On 15/10/2012 13:03, Uma Harano wrote:
 Unfortunately the mst has already been released to our customers. We are now 
 trying to release the msp patch and it is not patching the file. So we are 
 trying to see how we can now fix the problem (so that the msp updates the 
 file correctly) caused by the released mst.
 
 
 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Patch issue

2012-10-13 Thread Uma Harano
Hi
I have a patching issue I need help with. Version 10.1 of my msi installs a dll 
with version 10.1.0. This is the also the version listed in the File table of 
the msi for this dll. This msi is the English setup. I have embedded msts in 
this msi that localizes the dialogs for this msi. There was a problem with this 
mst, so when this mst is applied over the setup msi, the version of this dll in 
the File table is removed. (The dll installed on the machine is OK, it is just 
the File table of the msi that has the version removed when you apply the mst).

I now have an msp for this Version 10.1 that increments the dll to 10.1.1. I am 
finding that when the localized msi is installed (with the mst that removes the 
file version in the file table), and when the msp is applied over this, the dll 
is not patched.

How can I fix the msp so that the file is successfully patched in this scenario?

Thanks!
Uma Harano
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Shortcuts for instance transforms

2012-08-16 Thread Uma Harano
Hi,

I have been tasked to develop this (below)for a msi setup program:

I have a setup that has 10 instance transforms embedded in it. Help files are 
installed to a common location (this is not duplicated across all the 
instances, there is just one copy of the help files). I need to make one 
shortcut to this help location. Only one shortcut should be created even if all 
10 instances are installed. Uninstall of the last instance should be what 
deletes\uninstalls this shortcut.

How do I accomplish this?

Thanks
Uma Harano

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installation folder during maintenance

2012-08-02 Thread Uma Harano
Hi

I need some confirmation on what I should do about setting the installation 
folder during maintenance mode.



When the first time install sets the install location to non default location, 
does the msi remember this for subsequent maintenance operations? Or should I 
create a custom action during maintenance mode to read the install location 
from the registry and re-set it?  I am finding different results with my 
testing. Sometimes this install location is remembered during maintenance and 
sometimes it goes back to default.



Thanks!

Uma

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

2012-07-02 Thread Uma Harano
Hi Rob,
This works great. I tested it out and the uninstall worked great with the newly 
cached msi.
But - with this minor upgrade mechanism, I cannot delete components. I will 
definitely have to delete components. Is there anything I can go given that I 
have to delete components for the upgrade?

Thanks!
Uma-

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Saturday, June 30, 2012 1:43 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

Minor upgrade is executed by a recache-reinstall. Minor upgrade does *not* use 
the Upgrade table. MSI SDK has information about all the upgrade/update 
mechanisms.

On Sat, Jun 30, 2012 at 12:45 PM, Uma Harano uhar...@esri.com wrote:

 Hi Rob,
 How does the msi of the lower version (already installed) get 
 re-cached when the minor upgrade is run?
 Should I use the /f with the v option for re-caching the local 
 package again? That's the part I want to clarify.
 Also, the minor upgrade will have the Upgrade table populated, correct?

 Thank you so much! I am very much relieved that there is a way to fix 
 my issue.

 Thanks!
 Uma-


 -Original Message-
 From: Rob Mensching [mailto:r...@robmensching.com]
 Sent: Saturday, June 30, 2012 9:51 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

 If repair works correctly, you'll need to do a minor upgrade or small 
 update. An .msp is typically how the small update is delivered... but 
 a minor upgrade (ship the whole MSI again) should work fine as well.

 On Fri, Jun 29, 2012 at 9:58 PM, Uma Harano uhar...@esri.com wrote:

  Hi,
  I have a pretty horrible issue with a setup and I was hoping someone 
  can help me with a solution.
 
  Setup version 1 has been released. The uninstall routine for this 
  setup has a custom action (Written in C++) that has a bug. It locks 
  up a folder in the install location and the folder is accessible 
  only at the end of the MSI. I need to upgrade setup 1 to setup 
  1.1. Setup
  1.1 upgrade uninstalls setup version 1 and then installs the new 
  version. But since the uninstall of version 1 has the folders 
  locked, the installation that follows does not work.
 
  Is there any way I can fix the uninstall custom action in version 1 
  during the version 1.1 upgrade? Running a msp before the upgrade is 
  not
 an option.
 
  Any help will be GREATLY appreciated.
 
  Thanks!
  Uma Harano
 
  
  --
  
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond.
  Discussions will include endpoint security, mobile security and the 
  latest in malware threats.
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 



 --
 virtually, Rob Mensching - http://RobMensching.com LLC

 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually, Rob Mensching - http://RobMensching.com LLC
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

2012-07-02 Thread Uma Harano
I created a minor upgrade where some components were deleted. It seemed to work.
What are the potential problem I could face if I use minor upgrades when 
components need to be deleted?


-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Monday, July 02, 2012 8:31 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

Hi Rob,
This works great. I tested it out and the uninstall worked great with the newly 
cached msi.
But - with this minor upgrade mechanism, I cannot delete components. I will 
definitely have to delete components. Is there anything I can go given that I 
have to delete components for the upgrade?

Thanks!
Uma-

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: Saturday, June 30, 2012 1:43 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

Minor upgrade is executed by a recache-reinstall. Minor upgrade does *not* use 
the Upgrade table. MSI SDK has information about all the upgrade/update 
mechanisms.

On Sat, Jun 30, 2012 at 12:45 PM, Uma Harano uhar...@esri.com wrote:

 Hi Rob,
 How does the msi of the lower version (already installed) get 
 re-cached when the minor upgrade is run?
 Should I use the /f with the v option for re-caching the local 
 package again? That's the part I want to clarify.
 Also, the minor upgrade will have the Upgrade table populated, correct?

 Thank you so much! I am very much relieved that there is a way to fix 
 my issue.

 Thanks!
 Uma-


 -Original Message-
 From: Rob Mensching [mailto:r...@robmensching.com]
 Sent: Saturday, June 30, 2012 9:51 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

 If repair works correctly, you'll need to do a minor upgrade or small 
 update. An .msp is typically how the small update is delivered... but 
 a minor upgrade (ship the whole MSI again) should work fine as well.

 On Fri, Jun 29, 2012 at 9:58 PM, Uma Harano uhar...@esri.com wrote:

  Hi,
  I have a pretty horrible issue with a setup and I was hoping someone 
  can help me with a solution.
 
  Setup version 1 has been released. The uninstall routine for this 
  setup has a custom action (Written in C++) that has a bug. It locks 
  up a folder in the install location and the folder is accessible 
  only at the end of the MSI. I need to upgrade setup 1 to setup 
  1.1. Setup
  1.1 upgrade uninstalls setup version 1 and then installs the new 
  version. But since the uninstall of version 1 has the folders 
  locked, the installation that follows does not work.
 
  Is there any way I can fix the uninstall custom action in version 1 
  during the version 1.1 upgrade? Running a msp before the upgrade is 
  not
 an option.
 
  Any help will be GREATLY appreciated.
 
  Thanks!
  Uma Harano
 
  
  --
  
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond.
  Discussions will include endpoint security, mobile security and the 
  latest in malware threats.
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 



 --
 virtually, Rob Mensching - http://RobMensching.com LLC

 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond.
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats.
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually, Rob Mensching - http://RobMensching.com LLC
--
Live Security Virtual Conference
Exclusive live event will cover all the ways

Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

2012-06-30 Thread Uma Harano
Hi Rob,
How does the msi of the lower version (already installed) get re-cached when 
the minor upgrade is run?
Should I use the /f with the v option for re-caching the local package again? 
That's the part I want to clarify.
Also, the minor upgrade will have the Upgrade table populated, correct?

Thank you so much! I am very much relieved that there is a way to fix my issue.

Thanks!
Uma-


-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Saturday, June 30, 2012 9:51 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom action bug - can it be fixed in an upgrade?

If repair works correctly, you'll need to do a minor upgrade or small update. 
An .msp is typically how the small update is delivered... but a minor upgrade 
(ship the whole MSI again) should work fine as well.

On Fri, Jun 29, 2012 at 9:58 PM, Uma Harano uhar...@esri.com wrote:

 Hi,
 I have a pretty horrible issue with a setup and I was hoping someone 
 can help me with a solution.

 Setup version 1 has been released. The uninstall routine for this 
 setup has a custom action (Written in C++) that has a bug. It locks up 
 a folder in the install location and the folder is accessible only at 
 the end of the MSI. I need to upgrade setup 1 to setup 1.1. Setup 
 1.1 upgrade uninstalls setup version 1 and then installs the new 
 version. But since the uninstall of version 1 has the folders locked, 
 the installation that follows does not work.

 Is there any way I can fix the uninstall custom action in version 1 
 during the version 1.1 upgrade? Running a msp before the upgrade is not an 
 option.

 Any help will be GREATLY appreciated.

 Thanks!
 Uma Harano

 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually, Rob Mensching - http://RobMensching.com LLC
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom action bug - can it be fixed in an upgrade?

2012-06-29 Thread Uma Harano
Hi,
I have a pretty horrible issue with a setup and I was hoping someone can help 
me with a solution.

Setup version 1 has been released. The uninstall routine for this setup has a 
custom action (Written in C++) that has a bug. It locks up a folder in the 
install location and the folder is accessible only at the end of the MSI. I 
need to upgrade setup 1 to setup 1.1. Setup 1.1 upgrade uninstalls setup 
version 1 and then installs the new version. But since the uninstall of version 
1 has the folders locked, the installation that follows does not work.

Is there any way I can fix the uninstall custom action in version 1 during the 
version 1.1 upgrade? Running a msp before the upgrade is not an option.

Any help will be GREATLY appreciated.

Thanks!
Uma Harano
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Standard bootrapper with Wix - how to specify relative paths

2012-05-01 Thread Uma Harano
Thanks Neil! I added SourceFile attribute and it works great now!


-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Monday, April 30, 2012 11:23 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

Are you supplying the MsiPackage/@Name and MsiPackage/@ SourceFile attributes? 

Name - The destination path and file name for this chain payload.
SourceFile - Location of the package to add to the bundle.

Neil

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com]
Sent: 30 April 2012 22:41
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

I get this error now (below) Should I copy the msi package to the Bootstrap 
solution location too?

Error   1   The system cannot find the file 'SourceDir\Support\your.msi'.   
C:\test\Wix\Burn\Bootstrapper1\Bundle.wxs   9   1   Bootstrapper1

-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Monday, April 30, 2012 2:06 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

You set the MsiPackage/@Name attribute e.g. Name='Support\your.msi'

Neil

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com]
Sent: 30 April 2012 21:51
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

Hi,
I am building a bootstrapper with Wix - I am using the tag MsiPackage and 
specifying the SourceFile attribute. How do I specify a relative path to a msi 
package using this?
I will have the pre-requisite on my media in a folder called Support which is 
at the level of the Setup.exe.

I am new to the Wix Bootstrapper project and will be very appreciative of any 
help.
Thanks!
Uma-
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Standard bootrapper with Wix - how to specify relative paths

2012-05-01 Thread Uma Harano
Hi,
I think I am missing something in understanding how the bootstrapper works. 
When I launch the setup.exe bootstrapper - I see that it is caching the msi 
package under C:\Documents and Settings\All Users\Application Data\Package 
Cache\.

But the way I want it to work is as follows: 
My media has a Setup.exe. At this level, I have a support folder that contains 
the msi package that I want to bootstrap. So I want the Setup.exe to launch the 
msi from this Support folder. Instead, I am seeing that the msi is cached to 
the Package Cache location and executed from there.

Also, when I compile to create the bootstrapper in Wix, the only way it will 
compile is if I have Support folder in the same location of the wxs file. If 
not, I get a compile error (same as the one below).

What am I missing?
Thanks a lot!
Uma-



-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Monday, April 30, 2012 11:23 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

Are you supplying the MsiPackage/@Name and MsiPackage/@ SourceFile attributes? 

Name - The destination path and file name for this chain payload.
SourceFile - Location of the package to add to the bundle.

Neil

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com]
Sent: 30 April 2012 22:41
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

I get this error now (below) Should I copy the msi package to the Bootstrap 
solution location too?

Error   1   The system cannot find the file 'SourceDir\Support\your.msi'.   
C:\test\Wix\Burn\Bootstrapper1\Bundle.wxs   9   1   Bootstrapper1

-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Monday, April 30, 2012 2:06 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

You set the MsiPackage/@Name attribute e.g. Name='Support\your.msi'

Neil

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com]
Sent: 30 April 2012 21:51
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

Hi,
I am building a bootstrapper with Wix - I am using the tag MsiPackage and 
specifying the SourceFile attribute. How do I specify a relative path to a msi 
package using this?
I will have the pre-requisite on my media in a folder called Support which is 
at the level of the Setup.exe.

I am new to the Wix Bootstrapper project and will be very appreciative of any 
help.
Thanks!
Uma-
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

[WiX-users] Standard bootrapper with Wix - how to specify relative paths

2012-04-30 Thread Uma Harano
Hi,
I am building a bootstrapper with Wix - I am using the tag MsiPackage and 
specifying the SourceFile attribute. How do I specify a relative path to a msi 
package using this?
I will have the pre-requisite on my media in a folder called Support which is 
at the level of the Setup.exe.

I am new to the Wix Bootstrapper project and will be very appreciative of any 
help.
Thanks!
Uma-
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Standard bootrapper with Wix - how to specify relative paths

2012-04-30 Thread Uma Harano
I get this error now (below) Should I copy the msi package to the Bootstrap 
solution location too?

Error   1   The system cannot find the file 'SourceDir\Support\your.msi'.   
C:\test\Wix\Burn\Bootstrapper1\Bundle.wxs   9   1   Bootstrapper1

-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Monday, April 30, 2012 2:06 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

You set the MsiPackage/@Name attribute e.g. Name='Support\your.msi'

Neil

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com]
Sent: 30 April 2012 21:51
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Standard bootrapper with Wix - how to specify relative 
paths

Hi,
I am building a bootstrapper with Wix - I am using the tag MsiPackage and 
specifying the SourceFile attribute. How do I specify a relative path to a msi 
package using this?
I will have the pre-requisite on my media in a folder called Support which is 
at the level of the Setup.exe.

I am new to the Wix Bootstrapper project and will be very appreciative of any 
help.
Thanks!
Uma-
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Import rtf file to a scrollable text control

2012-04-24 Thread Uma Harano
Thanks Rob!
The LicenseAgreement I am trying to import into the Control table is 19 pages 
long and it is in rtf format.
So I am not sure how I can import this using that vbs script. 
Should I:
* Import using Orca for the first time.
* Get the formatted text in the Text column of the Control table(created for 
me by Orca) and build SQL query using that. (It will be VERY long)
* Run the SQL statement using the vbs script for future builds.

What am I missing? Sorry about all these questions.

Thanks!
Uma-



-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Tuesday, April 24, 2012 8:24 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Import rtf file to a scrollable text control

You could use the wisql.vbs that comes with the MSI SDK.

On Mon, Apr 23, 2012 at 8:15 PM, Uma Harano uhar...@esri.com wrote:

 Hi Rob

 I need to fix the license agreement in a msi file that has already 
 been built. I cannot unfortunately rebuild the msi again. So I have 
 been fixing the msi with the new license agreement using orca. I 
 would like to instead so this with a commandline tool with no UI.

 How can I do this?

 Thanks.
 Uma


 On Apr 23, 2012, at 7:38 PM, Rob Mensching r...@robmensching.com wrote:

  Wix can do this when building your MSI.
 
  On Mon, Apr 23, 2012 at 4:41 PM, Uma Harano uhar...@esri.com wrote:
 
  Hi,
  I would like to import an rtf file into the Text column of the 
  Control table for a Scrollable Text Control. (Into a msi that already 
  exists).
  I would like to do this during my build process. It should have no 
  UI intervention (so not Orca or any authoring tool). Is it possible 
  to do
 this
  with msidb? Or what are the methods I could use?
 
  Thanks in advance!
  Uma-
 
 
 --
 
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond.
 Discussions
  will include endpoint security, mobile security and the latest in
 malware
  threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 
  --
  virtually, Rob Mensching - http://RobMensching.com LLC
 
 --
 
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond. 
  Discussions will include endpoint security, mobile security and the 
  latest in malware threats. 
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 


 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually, Rob Mensching - http://RobMensching.com LLC
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Import rtf file to a scrollable text control

2012-04-23 Thread Uma Harano
Hi,
I would like to import an rtf file into the Text column of the Control table 
for a Scrollable Text Control. (Into a msi that already exists).
I would like to do this during my build process. It should have no UI 
intervention (so not Orca or any authoring tool). Is it possible to do this 
with msidb? Or what are the methods I could use?

Thanks in advance!
Uma-
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Import rtf file to a scrollable text control

2012-04-23 Thread Uma Harano
Hi Rob

I need to fix the license agreement in a msi file that has already been built. 
I cannot unfortunately rebuild the msi again. So I have been fixing the msi 
with the new license agreement using orca. I would like to instead so this with 
a commandline tool with no UI. 

How can I do this?

Thanks. 
Uma


On Apr 23, 2012, at 7:38 PM, Rob Mensching r...@robmensching.com wrote:

 Wix can do this when building your MSI.
 
 On Mon, Apr 23, 2012 at 4:41 PM, Uma Harano uhar...@esri.com wrote:
 
 Hi,
 I would like to import an rtf file into the Text column of the Control
 table for a Scrollable Text Control. (Into a msi that already exists).
 I would like to do this during my build process. It should have no UI
 intervention (so not Orca or any authoring tool). Is it possible to do this
 with msidb? Or what are the methods I could use?
 
 Thanks in advance!
 Uma-
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 
 -- 
 virtually, Rob Mensching - http://RobMensching.com LLC
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Copy support files during administrative installation of MSI

2012-03-08 Thread Uma Harano
Hi,
When I run the administrative installation of the msi (msiexec /a setup.msi) I 
would like to also copy over files that are not contained in the msi (things 
like the setup.exe bootstrapper, etc). What is the best way to accomplish this?
I have tried populating the MOveFile table to copy these files and I have also 
written a C++ dll custom action to copy files.
Is there another method I have missed?
With MoveFile method, I find it gets pretty cumbersome if I have many files 
that I need to move and I have to duplicate this for every msi I develop.
But with the dll, it gets simpler to just run the same function in multiple 
msis to copy files over. Though having dll custom action is an admission of 
failure :)

Thanks!
Uma-
--
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] Installing software on cluster computers

2012-02-08 Thread Uma Harano
Hi,
I have been tasked to research how to create installation programs for clusters 
of computers. Does anyone have any insights into this? Can MSI technology be 
used for installing to clusters? Is there any documentation for this?

Thanks!
Uma Harano

--
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] Permissions when installing data to a localtion on the network

2011-11-09 Thread Uma Harano
Hi,
With my setup program I install some files to a network share. I also have a 
custom action that edits a file after it gets installed with the install 
location(deferred custom action called by a C++ dll).
When the deferred sequence kicks in, the MSI performs actions as the system 
account. But what happens when the install location is on a network location? 
What permission is needed for the windows installer to perform the custom 
action?

Thanks!
Uma-


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Arabic RTL special character issues with MSI dialog.

2011-11-08 Thread Uma Harano
Hi,
One of the localized languages in my setup msi is Arabic. (An Arabic transform 
that is embedded in the Setup.msi)
When a text string ends with a special character (For example: C:\Program 
Files\Company\) the special character gets moved to the beginning of the string 
for Arabic only.
Any ideas how I can fix this? I should also mention that I have all the correct 
RTL bits set to True for the controls and the dialog.
Another example:
My product name that I display at the top of the setup Dialog is Web Adaptor 
(IIS).
So in Arabic dialogs, this shows as )WebAdaptor(IIS

Thanks!
Uma-
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Leave an entire feature behind at uninstall

2011-10-25 Thread Uma Harano
That was my initial plan - make an exe sort of thing that gets run separately.
The use no GUID option that Rob mentions is perfect for me - I think I will 
pursue that option and see how it goes.
This forum is great - thank you so much for these great suggestions.
Uma-

-Original Message-
From: John Bergman [mailto:john.berg...@xpedienttechnologies.com] 
Sent: Tuesday, October 25, 2011 7:04 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Leave an entire feature behind at uninstall

What about a separate mini-install that has the components you want to leave 
behind like the both SQL Server and the ATI Catalyst packages do?

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Monday, October 24, 2011 11:30 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Leave an entire feature behind at uninstall

1. Don't try to leave a Feature behind. It'll drive you crazy.

2. I'd probably try this... or use no GUID if you don't want to manage the data 
at all.

3. Custom actions are an admission of failure:
http://robmensching.com/blog/posts/2007/8/17/Zataoca-Custom-actions-are-generally-an-admission-of-failuresmile/

On Mon, Oct 24, 2011 at 11:12 AM, Uma Harano uhar...@esri.com wrote:

 Hi,

 As part of a setup logic, I need to leave behind a big chunk of 
 resources on disk at uninstall.  The resources are data files and I 
 have been asked to leave them behind at uninstall. When the setup is 
 run again on the machine where this data is left behind, the user has 
 the option to use the existing data (so it will not get installed 
 again) or install the data (over write the data or install it to a new 
 location).

 Can someone recommend the approach I should take to solve this?

 * A feature that installs this data. Hide the feature at uninstall
 so that it doesn't get removed. But this orphans components and could 
 potentially cause issues, correct?

 * Set the component bit(msidbComponentAttributesPermanent) to not
 uninstall to every component of the data feature (there are MANY 
 components for this data - so I am worried about this)

 * Install data to a different location all the time. Copy the data
 to the data location based on the user choice (Using a custom action)

 Thanks!
 Uma-

 --
  The demand for IT networking professionals continues to grow, 
 and the demand for specialized networking skills is growing even more 
 rapidly.
 Take a complimentary Learning@Cisco Self-Assessment and learn about 
 Cisco certifications, training, and career opportunities.
 http://p.sf.net/sfu/cisco-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
virtually, Rob Mensching - http://RobMensching.com LLC
--
The demand for IT networking professionals continues to grow, and the demand 
for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco 
certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Leave an entire feature behind at uninstall

2011-10-24 Thread Uma Harano
Hi,

As part of a setup logic, I need to leave behind a big chunk of resources on 
disk at uninstall.  The resources are data files and I have been asked to leave 
them behind at uninstall. When the setup is run again on the machine where this 
data is left behind, the user has the option to use the existing data (so it 
will not get installed again) or install the data (over write the data or 
install it to a new location).

Can someone recommend the approach I should take to solve this?

* A feature that installs this data. Hide the feature at uninstall so 
that it doesn't get removed. But this orphans components and could potentially 
cause issues, correct?

* Set the component bit(msidbComponentAttributesPermanent) to not 
uninstall to every component of the data feature (there are MANY components for 
this data - so I am worried about this)

* Install data to a different location all the time. Copy the data to 
the data location based on the user choice (Using a custom action)

Thanks!
Uma-
--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to check the code page of a localized mst?

2011-10-16 Thread Uma Harano
Hi,
I use WiLangID.vbs to determine the codepage of an msi databse.
How do I determine the codepage of a mst that is applied for localization?

Thanks!
Uma-
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] AppSearch not working for a Multi string registry value.

2011-10-13 Thread Uma Harano
Hi,
I am performing an AppSearch for this string:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
PendingFileRenameOperations.
I am setting this value to a property called PENDING_RENAME.

I ran the setup then analyzed the msi log file. During AppSearch, I see this 
entry in the log:

AppSearch: Property: PENDING_RENAME, Signature: NewSignature110
MSI (c) (34:5C) [02:13:54:702]: PROPERTY CHANGE: Modifying PENDING_RENAME 
property. Its current value is '0'. Its new value: ''.

As you can see, the value from the registry is not written to this property 
during app search. But later on, I see this value added to the property in the 
log file:

Property(C): PENDING_RENAME = [~]\??\C:\Config.Msi\375b7.rbf[~]\??\C:\Program 
Files (x86)\Sophos\Sophos Anti-Virus\sophos_detoured.dll.stf00[~]\??\C:\Program 
Files (x86)\Sophos\Sophos 
Anti-Virus\sophos_detoured_x64.dll.stf00[~]\??\C:\Windows\system32\sdccoinstaller.dll.stf00[~]\??\C:\Program
 Files (x86)\Sophos\Sophos Anti-Virus\sdcdevcon.exe.stf00[~]

The issue is that I need to use this value right after AppSearch in the UI 
sequence . But at this point, looks like the property is really not set.  What 
am I missing?

Thanks!
Uma-

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Right to left language UI support

2011-09-24 Thread Uma Harano
Hi
I was running the setup on an Arabic OS. Other applications dialogs were 
correctly displayed, only mine had this issue. 
I confirmed that the msi had the correct RTL bits set for dialogs. So I am not 
sure I am missing. 

If anyone can shed light on this I would really appreciate it. 

The link below is very helpful. 

Thanks!
Uma


On Sep 24, 2011, at 3:26 AM, Tobias S tobias.s1...@gmail.com wrote:

 This should only be mirrored on an RTL OS. See also
 http://stackoverflow.com/questions/7437386/how-to-mirror-the-titlebar-of-an-msi-installer
 
 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2dcopy2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] FileInUse dialog

2011-09-23 Thread Uma Harano
Hi,

My setup msi installs a private JRE (this includes the exe Javaw.exe).  This 
JRE is installed in my product's install location.
The problem:
On my machine, I have another process running (not developed by me) that also 
uses javaw.exe from a different location. When my setup program detects this 
javaw.exe process, it throws the FileInUse dialog. Why does this happen? The 
JavaW.exe is in a different location than my setup's install location. Is there 
any way I can prevent this from happening?

Thanks!
Uma Harano



--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Right to left language UI support

2011-09-23 Thread Uma Harano
Hi,
One of the languages I need to support is Arabic. My Arabic msi shows the 
close, minimize and maximize buttons on the right. How do I move these buttons 
to the left?

Thanks!
Uma
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Compress files into an exe

2011-08-18 Thread Uma Harano
Hi,

I used to depend on wisescripts to compress files into an executable. At 
runtime, the exe used to extract the files to a specified location. Is there a 
way to accomplish this using any of the tools provided by WiX development 
environment? Since wisescript is not supported by Altiris anymore, I want a new 
system to create these.  I do not want to use Installscripts provided by 
InstallShield.

Thanks!
Uma-
--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcuts question

2011-07-26 Thread Uma Harano
Hi Phil,
Thanks for your response. Do you recommend editing the record filed at runtime 
with the required value or creating a new record with the required value at 
runtime?
Are there any issues with modifying a record field at runtime? When I call the 
MsiRecordSetString function, it returns ERROR_INVALID_HANDLE.
I know that my view is valid - because MsiDatabaseOpenView returns success.  So 
I am wondering if I should just create records or attempt to modify the 
existing record.

Thanks!
Uma-

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Monday, July 25, 2011 11:18 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Shortcuts question

That works only when the corresponding field in the MSI is Formatted type. It 
may work if you update the in-memory MSI file with the required value prior to 
the CreateShortcuts action. I have no experience of doing this, but vaguely 
recall people using this technique. 

Phil Wilson 

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Monday, July 25, 2011 10:44 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Shortcuts question

Hi,
In the Shortcut table of the msi, I want to use a property (ST_NAME) for the 
Name column.
The shortcut I am creating is shortcut to an IIS Virtual directory. The setup 
could change this location based on user input, so I want the shortcut name to 
reflect this change.

I am finding that if I put [ST_NAME] in the Name column of the shortcut table, 
the msi creates a shortcut called [ST_NAME]. It doesn't resolve the property.
Any ideas how I can solve this?
Thanks!
Uma-
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

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



--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Shortcuts question

2011-07-25 Thread Uma Harano
Hi,
In the Shortcut table of the msi, I want to use a property (ST_NAME) for the 
Name column.
The shortcut I am creating is shortcut to an IIS Virtual directory. The setup 
could change this location based on user input, so I want the shortcut name to 
reflect this change.

I am finding that if I put [ST_NAME] in the Name column of the shortcut table, 
the msi creates a shortcut called [ST_NAME]. It doesn't resolve the property.
Any ideas how I can solve this?
Thanks!
Uma-
--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to modify a reg key value when you modify the setup

2011-05-23 Thread Uma Harano
Hi,

I have a registry key that gets set to a value based on a check box that the 
user clicks during the initial UI.
The same check box is available during maintenance mode. So if the user had 
initially turned it(check box) on during the initial install, and then decides 
to turn it off during maintenance action, the reg keys should reflect this.

Will this be handled by setting the registry key component as transitive?

Thanks!
Uma Harano
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to modify a reg key value when you modify the setup

2011-05-23 Thread Uma Harano
Hi,
I just realized that transitive has no relevance to this - Since the registry 
key component has no component condition to it. My registry key to set to a 
property value that depends on the check box being checked on or off. But 
during maintenance mode, since the key already exists, the key doesn't get 
re-written to reflect the new check box value. So it remains as the initial 
value that is set during the first time install.

How do I get this key to be re-written?

Thanks!
Uma-

-Original Message
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Monday, May 23, 2011 1:49 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to modify a reg key value when you modify the setup

Hi,

I have a registry key that gets set to a value based on a check box that the 
user clicks during the initial UI.
The same check box is available during maintenance mode. So if the user had 
initially turned it(check box) on during the initial install, and then decides 
to turn it off during maintenance action, the reg keys should reflect this.

Will this be handled by setting the registry key component as transitive?

Thanks!
Uma Harano
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Dialog to select a file type.

2011-04-02 Thread Uma Harano
Hi,
Is there a way to create a Browse dialog in the msi that will allow me to pick 
a file? For instance, if I want a browse dialog to pick an existing *.txt files 
only.
Also, I need to create a Browse Dialog to save a file to path.
I am reading that the Browse Dialog only allows you to select a path, but not a 
file in the path,
Thanks!
Uma-
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 1723

2011-03-02 Thread Uma Harano
I had this error too.
I had a bunch of functions that all had the first dozen characters the same.
MsiGetWebsiteName, MsiGetWebsitePort, etc.
I fixed this by renaming my functions - GetSiteName, etc.
For some reason when there were too many functions that have the first dozen 
letters the same, the msi couldn't read the exported function.

The C++ dll I use was fine. But the C# Managed assembly I made via WiX had this 
problem.



-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Wednesday, March 02, 2011 9:42 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 1723

Is it managed C++? It's not clear to me how you're calling a managed code 
assembly otherwise - that log might be a DTF or InstallUtilLib call, but it's 
not obvious which it might be. 

Phil Wilson 

-Original Message-
From: Colin LeMahieu [mailto:clemah...@gmail.com] 
Sent: Tuesday, March 01, 2011 8:27 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Error 1723

Yea, and the million dollar question is, which dll is missing?

The exact error message I get is:

MSI (c) (C0:1C) [10:18:19:335]: Note: 1: 1723 2:
caStripCharsFromNetworkPort 3: StripExtraCharsFromRegSearchValue 4:
C:\DOCUME~1\ADMINI~1.LAB\LOCALS~1\Temp\MSI151.tmp
Error 1723. There is a problem with this Windows Installer package. A
DLL required for this install to complete could not be run. Contact
your support personnel or package vendor. Action
caStripCharsFromNetworkPort, entry: StripExtraCharsFromRegSearchValue,
library: C:\DOCUME~1\ADMINI~1.LAB\LOCALS~1\Temp\MSI151.tmp
MSI (c) (C0:1C) [10:18:20:664]: Product: Email Management Services --
Error 1723. There is a problem with this Windows Installer package. A
DLL required for this install to complete could not be run. Contact
your support personnel or package vendor. Action
caStripCharsFromNetworkPort, entry: StripExtraCharsFromRegSearchValue,
library: C:\DOCUME~1\ADMINI~1.LAB\LOCALS~1\Temp\MSI151.tmp

This custom action is a managed assembly.  I unpacked the MSI and CAB
and pointed .NET reflector at the assembly and all its references were
found.  I set the fusion log to log while running the MSI and it
doesn't report any errors.  I ran msiexec within a WinDBG session and
didn't get any module load failures.

Does anyone have tips on how do debug this type or issue?  Or
basically any debugging related to WiX/MSI?  How can the wixpdb files
be used?

Thanks for the reply, I know you didn't write WiX though I've had an
easier time debugging hex machine code than the WiX/MSI process.

 Message: 6
 Date: Thu, 24 Feb 2011 11:05:01 +0200
 From: Dan Vasilov d...@rms.ro
 Subject: Re: [WiX-users] Error 1723
 To: 'General discussion for Windows Installer XML toolset.'
        wix-users@lists.sourceforge.net
 Message-ID: 02fc01cbd401$eb598740$c20c95c0$@ro
 Content-Type: text/plain;       charset=us-ascii

        It is very likely the .dll is not included in the MSI package at
 build.
 Another possibility is the .dll is missing some dependent .dll files.

 -Original Message-
 From: Colin LeMahieu [mailto:clemah...@gmail.com]
 Sent: Wednesday, February 23, 2011 7:26 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Error 1723

 I'm getting this error on startup for an MSI that previously worked.
 Are there any tips for debugging this error?  Is it unreasonable to
 expect the name of the offending DLL or some way to attach a debugger
 to an MSI while installing?

 
 --

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
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 

Re: [WiX-users] Error 1723

2011-03-02 Thread Uma Harano
This is the link that gave me the idea to change the function names.
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg42318.html


-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Wednesday, March 02, 2011 11:02 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 1723

I had this error too.
I had a bunch of functions that all had the first dozen characters the same.
MsiGetWebsiteName, MsiGetWebsitePort, etc.
I fixed this by renaming my functions - GetSiteName, etc.
For some reason when there were too many functions that have the first dozen 
letters the same, the msi couldn't read the exported function.

The C++ dll I use was fine. But the C# Managed assembly I made via WiX had this 
problem.



-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Wednesday, March 02, 2011 9:42 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 1723

Is it managed C++? It's not clear to me how you're calling a managed code 
assembly otherwise - that log might be a DTF or InstallUtilLib call, but it's 
not obvious which it might be. 

Phil Wilson 

-Original Message-
From: Colin LeMahieu [mailto:clemah...@gmail.com] 
Sent: Tuesday, March 01, 2011 8:27 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Error 1723

Yea, and the million dollar question is, which dll is missing?

The exact error message I get is:

MSI (c) (C0:1C) [10:18:19:335]: Note: 1: 1723 2:
caStripCharsFromNetworkPort 3: StripExtraCharsFromRegSearchValue 4:
C:\DOCUME~1\ADMINI~1.LAB\LOCALS~1\Temp\MSI151.tmp
Error 1723. There is a problem with this Windows Installer package. A
DLL required for this install to complete could not be run. Contact
your support personnel or package vendor. Action
caStripCharsFromNetworkPort, entry: StripExtraCharsFromRegSearchValue,
library: C:\DOCUME~1\ADMINI~1.LAB\LOCALS~1\Temp\MSI151.tmp
MSI (c) (C0:1C) [10:18:20:664]: Product: Email Management Services --
Error 1723. There is a problem with this Windows Installer package. A
DLL required for this install to complete could not be run. Contact
your support personnel or package vendor. Action
caStripCharsFromNetworkPort, entry: StripExtraCharsFromRegSearchValue,
library: C:\DOCUME~1\ADMINI~1.LAB\LOCALS~1\Temp\MSI151.tmp

This custom action is a managed assembly.  I unpacked the MSI and CAB
and pointed .NET reflector at the assembly and all its references were
found.  I set the fusion log to log while running the MSI and it
doesn't report any errors.  I ran msiexec within a WinDBG session and
didn't get any module load failures.

Does anyone have tips on how do debug this type or issue?  Or
basically any debugging related to WiX/MSI?  How can the wixpdb files
be used?

Thanks for the reply, I know you didn't write WiX though I've had an
easier time debugging hex machine code than the WiX/MSI process.

 Message: 6
 Date: Thu, 24 Feb 2011 11:05:01 +0200
 From: Dan Vasilov d...@rms.ro
 Subject: Re: [WiX-users] Error 1723
 To: 'General discussion for Windows Installer XML toolset.'
        wix-users@lists.sourceforge.net
 Message-ID: 02fc01cbd401$eb598740$c20c95c0$@ro
 Content-Type: text/plain;       charset=us-ascii

        It is very likely the .dll is not included in the MSI package at
 build.
 Another possibility is the .dll is missing some dependent .dll files.

 -Original Message-
 From: Colin LeMahieu [mailto:clemah...@gmail.com]
 Sent: Wednesday, February 23, 2011 7:26 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Error 1723

 I'm getting this error on startup for an MSI that previously worked.
 Are there any tips for debugging this error?  Is it unreasonable to
 expect the name of the offending DLL or some way to attach a debugger
 to an MSI while installing?

 
 --

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
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

[WiX-users] Need to not use IIS 6 Scripting tools compatibility on IIS 7 machines.

2011-02-24 Thread Uma Harano
Hi,

I am using WiX C # custom action template in Visual Studio 2008. The custom 
action I am writing  is for listing all the websites on a machine and 
displaying it in a msi dialog.  The code is very similar to what is found on 
this site: 
http://blog.torresdal.net/CommentView,guid,FE27427F-FF4F-4056-BC50-C98E23227C6D.aspx.

On a windows server 2008 machine running IIS 7, I am finding that I need to 
turn on the IIS 6 Scripting tools feature of IIS 7  in order to get this 
managed custom action to display the websites. Is this expected behavior? 
Ideally, I would like to not use the II6 Scripting tools feature on my IIS 7 
machine. I thought using managed code would help with this.

Thanks!
Uma

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Need to not use IIS 6 Scripting tools compatibility on IIS 7 machines.

2011-02-24 Thread Uma Harano
Thank you so much John and Mat. This forum is awesome.
I have direction now.
Uma-

-Original Message-
From: John Robbins [mailto:j...@wintellect.com] 
Sent: Thursday, February 24, 2011 1:41 PM
To: General discussion for Windows Installer XML toolset.; Uma Harano
Subject: RE: [WiX-users] Need to not use IIS 6 Scripting tools compatibility on 
IIS 7 machines.

Or you can steal the code I just posted that shows working with IIS7 and WiX. :)

http://www.wintellect.com/CS/blogs/jrobbins/archive/2011/02/23/web-application-installer-in-wix.aspx

Hope it helps!

John
Wintellect
http://www.wintellect.com
+1-877-968-5528


-Original Message-
From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] 
Sent: Thursday, February 24, 2011 12:45 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Need to not use IIS 6 Scripting tools compatibility on 
IIS 7 machines.

Unfortunately there is a completely different set of APIs for working with IIS 
7.

Here is the link to the MSDN documentation on the ServerManager Namespace:
http://msdn.microsoft.com/en-us/library/microsoft.web.administration.servermanager(v=vs.90).aspx


Mat Skildum


-Original Message-
From: Uma Harano [mailto:uhar...@esri.com]
Sent: Thursday, February 24, 2011 2:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Need to not use IIS 6 Scripting tools compatibility on IIS 
7 machines.

Hi,

I am using WiX C # custom action template in Visual Studio 2008. The custom 
action I am writing  is for listing all the websites on a machine and 
displaying it in a msi dialog.  The code is very similar to what is found on 
this site: 
http://blog.torresdal.net/CommentView,guid,FE27427F-FF4F-4056-BC50-C98E23227C6D.aspx.

On a windows server 2008 machine running IIS 7, I am finding that I need to 
turn on the IIS 6 Scripting tools feature of IIS 7  in order to get this 
managed custom action to display the websites. Is this expected behavior? 
Ideally, I would like to not use the II6 Scripting tools feature on my IIS 7 
machine. I thought using managed code would help with this.

Thanks!
Uma

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual 
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual 
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MsiProcessMessage - Display MessageBox from the Next button on a dialog

2011-01-27 Thread Uma Harano
Thanks! The Spawn dialog is working nicely -
Is it possible to populate the Error table in the MSI and have a UI error 
message show up using this entry in the Error table?
Right now, I am creating a little Dialog and adding text to it as text 
controls. Ideally, I would like this error dialog to use the error entry in the 
Error table.
Can someone please give me some pointer as to how I can accomplish this?
Thanks!
Uma-

-Original Message-
From: Michael Urman [mailto:mur...@gmail.com] 
Sent: Tuesday, January 25, 2011 9:09 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MsiProcessMessage - Display MessageBox from the Next 
button on a dialog

Per the documenation for DoAction
http://msdn.microsoft.com/en-us/library/aa368322(VS.85).aspx as well
as a comment on the MsiProcessMessage MSDN page, this won't work. I
think the recommended way would be to create and show a dialog with a
SpawnDialog control event instead.

On Tue, Jan 25, 2011 at 21:57, Uma Harano uhar...@esri.com wrote:
 Hi,

 In a C++ custom action, I am using MsiProcessMessage to display message box. 
 I am finding that MsiProcessMessage won't show a message
 box when you call it from a custom action invoked from a control event. Is 
 this true or am I doing something wrong?
 If this is true, what is the recommended method to display a MessageBox from 
 a control event while clicking the Next button on a dialog?

 Here is a the line of code:
 MsiProcessMessage(hInstall, 
 INSTALLMESSAGE(INSTALLMESSAGE_ERROR|MB_ABORTRETRYIGNORE|MB_ICONWARNING), 
 newHandle);

 Thanks!
 Uma Harano
 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MsiProcessMessage - Display MessageBox from the Next button on a dialog

2011-01-27 Thread Uma Harano
Please disregard this. I think I have figured out how all the pieces fit 
together now :)

Thanks!
Uma-

-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Thursday, January 27, 2011 8:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MsiProcessMessage - Display MessageBox from the Next 
button on a dialog

Thanks! The Spawn dialog is working nicely -
Is it possible to populate the Error table in the MSI and have a UI error 
message show up using this entry in the Error table?
Right now, I am creating a little Dialog and adding text to it as text 
controls. Ideally, I would like this error dialog to use the error entry in the 
Error table.
Can someone please give me some pointer as to how I can accomplish this?
Thanks!
Uma-

-Original Message-
From: Michael Urman [mailto:mur...@gmail.com] 
Sent: Tuesday, January 25, 2011 9:09 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MsiProcessMessage - Display MessageBox from the Next 
button on a dialog

Per the documenation for DoAction
http://msdn.microsoft.com/en-us/library/aa368322(VS.85).aspx as well
as a comment on the MsiProcessMessage MSDN page, this won't work. I
think the recommended way would be to create and show a dialog with a
SpawnDialog control event instead.

On Tue, Jan 25, 2011 at 21:57, Uma Harano uhar...@esri.com wrote:
 Hi,

 In a C++ custom action, I am using MsiProcessMessage to display message box. 
 I am finding that MsiProcessMessage won't show a message
 box when you call it from a custom action invoked from a control event. Is 
 this true or am I doing something wrong?
 If this is true, what is the recommended method to display a MessageBox from 
 a control event while clicking the Next button on a dialog?

 Here is a the line of code:
 MsiProcessMessage(hInstall, 
 INSTALLMESSAGE(INSTALLMESSAGE_ERROR|MB_ABORTRETRYIGNORE|MB_ICONWARNING), 
 newHandle);

 Thanks!
 Uma Harano
 --
 Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
 Finally, a world-class log management solution at an even better price-free!
 Download using promo code Free_Logger_4_Dev2Dev. Offer expires
 February 28th, so secure your free ArcSight Logger TODAY!
 http://p.sf.net/sfu/arcsight-sfd2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] MsiProcessMessage - Display MessageBox from the Next button on a dialog

2011-01-25 Thread Uma Harano
Hi,

In a C++ custom action, I am using MsiProcessMessage to display message box. I 
am finding that MsiProcessMessage won't show a message
box when you call it from a custom action invoked from a control event. Is this 
true or am I doing something wrong?
If this is true, what is the recommended method to display a MessageBox from a 
control event while clicking the Next button on a dialog?

Here is a the line of code:
MsiProcessMessage(hInstall, 
INSTALLMESSAGE(INSTALLMESSAGE_ERROR|MB_ABORTRETRYIGNORE|MB_ICONWARNING), 
newHandle);

Thanks!
Uma Harano
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Component rules

2010-06-22 Thread Uma Harano
Hi,
Does this below break the component rules?

Create one merge module with a set of files. This merge module is installed to 
different locations on disc with multiple msis. Does this break any component 
rules because one merge module (with one set of components) is installed to 
different locations with different msis?

Thanks!
Uma Harano
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Escape single quote in a SQL Statement for MSI database

2010-06-08 Thread Uma Harano
Hi,

I am trying to execute the following SQL statement on my msi database:

cscript WiRunSQL.vbs 
MySetup.msifile:///\\emus\emus2\SetupTools\MsiTools\WiRunSQL.vbs%20MySetup.msi
 UPDATE `ActionText` SET `ActionText`.`Description` ='Configuration de 
[ProductName]... L'opération peut prendre plusieurs minutes.' WHERE 
`ActionText`.`Description`= 'Configuring [ProductName]...This may take several 
minutes.'

Note the L'opération text - this has the single quote, so I escaped it with two 
single quotes (Which is a common SQL syntax for literal single quotes). SO the 
new statement looks like this:

cscript WiRunSQL.vbs 
MySetup.msifile:///\\emus\emus2\SetupTools\MsiTools\WiRunSQL.vbs%20MySetup.msi
 UPDATE `ActionText` SET `ActionText`.`Description` ='Configuration de 
[ProductName]... L''opération peut prendre plusieurs minutes.' WHERE 
`ActionText`.`Description`= 'Configuring [ProductName]...This may take several 
minutes.'

This SQL statement also fails with a SQL syntax error. (I get rid of the two 
single quotes in L''opération , it works with no errors. Column is edited 
correctly)

Any ideas how I can use a literal single quote in a SQL Statement for an MSI 
database?

Thanks!
Uma Harano




--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Create new components in a patch

2010-05-14 Thread Uma Harano
Hi,
I am having problems with creating new registry key components in a patch.

SP1 (version 1.1) msp creates a new registry component (SP1RegKey) in Feature A 
and it targets the base version (1.0). Hot Fix 1 is released after SP1 and it 
creates another new registry component (HotFixRegKey) to the same Feature A. 
Hot Fix 1 targets Base version (v1.0) and v1.1.

User installs the version 1.0 and then applies the Hot Fix 1 msp. When the user 
then applies SP1 over this, the state of Feature A changes to advertise since 
the SP1 does not contain the component HotFixRegKey.  Is there any way I can 
prevent this from happening? Log snippet below:

(STATE)   MSI (s) (C4:94) [16:07:20:951]: Feature: FeatureA; Installed: 
Advertise; Request: Reinstall; Action: Reinstall


Thanks!
Uma Harano
--

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade Table

2010-03-24 Thread Uma Harano
Hi,

http://blogs.msdn.com/wslogo/archive/2008/02/27/welcome-to-the-works-with-tool-for-windows-server-2008.aspx
In this link for Windows Server compatibility certification, it says that I 
have to populate the Upgrade table (I am assuming this is even if I do not want 
to make an upgrade of the msi)
So if I do not want to have upgrades for my installations, how do I author this 
table?

Thanks for any help you can provide.
Uma Harano-


***
Blurb from the link

Package Identity 

Windows Installer packages must comply with ICE validation as well as identify 
installer package and properly prepare for upgrade. 

To Pass this test case the Property Table and the Upgrade Table must contain: 

Property Table: 

Manufacturer 
ProductCode 
ProductLanguage 
ProductName 
ProductVersion (major and minor) 
Upgrade Table: 

UpgradeCode 
VersionMin   (Major.minor.build) 
VersionMax  (Major.minor.build)

The UpgradeCode in the Upgrade table must be identical to the UpgradeCode in 
the Property table. 

VersionMin and VersionMax: BOTH cannot be null. 
*** 

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Wednesday, March 24, 2010 3:37 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Upgrade Table

If you're referring to the Microsoft platform testing, those tests are
flawed. They failed an MSI of ours due to having a null entry for
VersionMax in an Upgrade Table entry even though the MSDN documentation
on Windows Installer tells you to do this if you want to check for all
versions greater than the VersionMin (see
http://msdn.microsoft.com/en-us/library/aa372379.aspx). This is checked
by ICE61 which they run before they do their Package Identity testing
 yet they don't actually know enough about Windows Installer to know
this even though they're testing packages built for it.

They also failed another MSI because we apparently install 16-bit
binaries which aren't identified as such. The files are data templates
(ASCII text) with a .sys extension. They don't bother actually looking
at the content of the files, their tests assume .sys = 16-bit  since
the testing is all automated by someone with a basic knowledge of how to
click buttons  send e-mails actually trying to explain this to them is
about as useful as talking to your buildings walls.

Our testing was done by VeriTest so if you're using someone else you
may have more intelligent responses.

Palbinder Sandher 
Software Deployment  IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
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: Uma Harano [mailto:uhar...@esri.com] 
Sent: 23 March 2010 17:17
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Upgrade Table

Hi,
I have read that the Upgrade Table must be populated based on the Server
2008 certification guidelines.
My setup msi program is not designed to do upgrades of previous
versions. Should I still populate the Upgrade table? If so, what Upgrade
code should I use? (Since it is not designed to upgrade anything).

Thanks!
Uma Harano-

--
Download Intel#174; Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Upgrade Table

2010-03-23 Thread Uma Harano
Hi,
I have read that the Upgrade Table must be populated based on the Server 2008 
certification guidelines.
My setup msi program is not designed to do upgrades of previous versions. 
Should I still populate the Upgrade table? If so, what Upgrade code should I 
use? (Since it is not designed to upgrade anything).

Thanks!
Uma Harano-
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Greater than equal to comparison

2010-03-05 Thread Uma Harano
Hi,
In the registry, I get a Version registry key that is 3.0.40624.0
I store this in a property and I need to let the setup proceed if this is the 
minimum version. If this key is 4.0 for instance, setup should proceed.

Can I use the Greater than equal to  operator for this? Or would I have to 
perform a custom action to do this?

Thanks!
Uma-
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Signing problems

2010-03-02 Thread Uma Harano
I have never had any success signing any binary over 300MB.
There is a limitation to the size of the file you can sign with SignTool.exe
Microsoft has another tool called MakeCat.exe that you have to use for bigger 
files.



-Original Message-
From: Tom Crozier [mailto:tcroz...@rackwise.com] 
Sent: Tuesday, March 02, 2010 5:20 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Signing problems

All - I have had problems trying to sign one of my installers. Smaller msi's 
sign without any problem but I have an 800Mb msi file that will not sign.

I have tried signing it on 2 different machines

One of them gives me the error

   SignTool Error: ISignedCode::Sign returned error: 0x80092002
An error occurred during encode or decode operation.

The other one

  SignTool Error: This file format cannot be signed because it is not 
recognized.

I have been able to build the msi with separate cab files and had no problem 
signing the cab files (even cabs over 1GB) but I need to deliver a single msi.

I have also played around with setting the CompressionLevel on the Media and 
when I set it to none the msi file was 1GB and I was able to sign it from the 
machine that complained about the file format but not the other one.

Has anyone seen this before? Your help is greatly appreciated.


-  TC
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Appsearch for dword

2010-02-22 Thread Uma Harano
Hi,
I am performing an AppSearch for a dword reg key. I want to set another dword 
reg key to the dword value returned from the AppSearch.

But unfortunately, when the AppSearch finds the dword key, it returns it as #2 
(for instance if the dword were 2).
So the new reg key gets written as  REG_SZ, not a dword.

Is there any way I could fix this? (Without writing a custom action that parses 
off the #, etc)

Thanks!
Uma-
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Appsearch for dword

2010-02-22 Thread Uma Harano
My MSI is writing the reg key initially as #[Property]
Hence the problem.
Because after appsearch it is ##

Thanks a LOT.
Uma-

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Monday, February 22, 2010 1:42 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Appsearch for dword

How are you writing this registry entry? There's nothing explicit in the MSI 
file's registry table that says something is a dword or a string - it's in the 
value. If you write #2 to the registry Windows Installer will create it as a 
dword. If you prefix it with #x it will create it as binary. So that's why I'm 
wondering how you are writing this item to the registry.  It looks to me that 
somebody has code somewhere that is parsing #2 and deciding it's a string, but 
that isn't what Windows Installer would do. 

Phil Wilson 


-Original Message-
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Monday, February 22, 2010 12:58 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Appsearch for dword

Hi,
I am performing an AppSearch for a dword reg key. I want to set another dword 
reg key to the dword value returned from the AppSearch.

But unfortunately, when the AppSearch finds the dword key, it returns it as #2 
(for instance if the dword were 2).
So the new reg key gets written as  REG_SZ, not a dword.

Is there any way I could fix this? (Without writing a custom action that parses 
off the #, etc)

Thanks!
Uma-
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@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).



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Multiple Instances and Component IDs

2009-12-14 Thread Uma Harano
You have to create unique components for each transform.
These components will contain the non file data (registry keys).
This is what I am doing and it works great.


-Original Message-
From: Kevin Garman [mailto:gar...@scadaware.com] 
Sent: Monday, December 14, 2009 2:18 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Multiple Instances and Component IDs

Hi,

Ya, that part works fine.  It's the bit about 'non-file' components that
I'm working through right now (services and registry entries).  At the
moment these components do not have unique guids so they don't behave as
desired.  The link I posted presents a solution to that, but since that
post kind of old I thought I'd see if anyone had since come up with any
better solutions.

Thanks,
Kevin



On Mon, 2009-12-14 at 09:02 +0100, Yan Sklyarenko wrote: 

 Kevin,
 
 What's the problem with uninstalling? Each instance you install is
 reflected by an entry in Add/Remove Programs console (ARP), unless you
 disabled it explicitly
 (http://msdn.microsoft.com/en-us/library/aa367750(VS.85).aspx). Hence,
 you can uninstall it directly from ARP. Or, otherwise, use the following
 command line:
 msiexec /x {INSTANCE-PRODUCT-CODE}
 
 Hope this helps,
 
 -- Yan
 
 -Original Message-
 From: Kevin Garman [mailto:gar...@scadaware.com] 
 Sent: Friday, December 11, 2009 18:38
 To: wix-users
 Subject: [WiX-users] Multiple Instances and Component IDs
 
 Hi,
 
 I am building an installer that creates a service and registry entries
 (among other things) and I need to be able to install multiple
 instances.  It works almost in it's entirety, but I'm still stuck on the
 un-installation of instances.  The information I've found so far is a
 couple of posts here
 http://n2.nabble.com/Multiple-Instance-Transforms-Walkthrough-Proposed-S
 imple-Addition-to-WiX-to-Make-Them-Easier-td708828.html
 where a custom extension was involved.
 
 Some time has pasted since these posts.  Is this the best way to solve
 my problem or is there something better/more standard that will make
 this work?
 
 Thanks,
 Kevin
 
 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 --
 Return on Information:
 Google Enterprise Search pays you back
 Get the facts.
 http://p.sf.net/sfu/google-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Instance transforms with the msi

2009-12-10 Thread Uma Harano
Thanks for all the pointers! I grouped the non file data in this recommended 
method and it is working beautifully.
Thanks!
Uma-

-Original Message-
From: John Nannenga [mailto:john.nanne...@microsoft.com] 
Sent: Wednesday, December 09, 2009 7:50 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Instance transforms with the msi

Here's the key point from the SDK:

* To keep the nonfile data of each instance isolated, the base package
should collect nonfile data into sets of components for each instance. The
appropriate components should then be installed based on conditional
statements that depend on the instance identifier.

The emphasis here is on nonfile data; which includes (but not limited to) 
shortcuts, registry items, ini items, ODBC items [and the list goes on and on].

You do not 'have' to do this for file data.  The SDK recommendation here is 
to (if you're going to support multiple instances) segregate nonfile data into 
their own components which would then have their own unique component GUIDs and 
installed conditionally based upon the instance identifier.


To answer your question then, Uma:  I find that HKLM\Software\ESRI\Instance1 
is still left behind on the machine after instance 1 is uninstalled.  Is this 
because the component that includes this registry key is still in the installed 
state with the base setup?

I believe that occurs because the component was ref-counted.  What you would 
see then is that when the last instance is uninstalled, the registry 
information for only that instance would be removed, but all the other instance 
registry keys would remain (thus, orphaned).

You can also run into this situation when you upgrade a product and are 
performing 'efficient upgrades' where the registry information location for 
that instance changes.  You'll need to change the component GUID in this 
situation as well.




From: Michael Osmond [mosm...@baytech.com.au]
Sent: Monday, December 07, 2009 5:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Instance transforms with the msi

Hi

If you are using MSI Instances and installing to different locations, you don't 
need different component GUIDs for each component in each installed instance 
and the reference counting seems to work okay.   I will be honest and say I 
don't know how it works under the hood, but it does work.The installer is 
able to work out where things are.

I do however use a registry key for each instance to keep the path where I 
installed that instance too, which comes in handy on major upgrades.  Also have 
found it usefull to record the product ID of the instance in the registry as 
well.

Michael


From: kelly.le...@milliman.com [kelly.le...@milliman.com]
Sent: Tuesday, 8 December 2009 9:32 AM
To: General discussion for Windows Installer XML toolset.
Cc: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Instance transforms with the msi

I wasn't asking about ProductCode.  I'm asking about the component GUID
for the registry key you're referring to.  You need to assign different
GUIDs for all components that could be installed in two locations by the
two different instances.  If you want to install the same files in two
places, you're going to have to modify all the component GUIDs for the
files, if I understand the process correctly.  I'm not an expert on using
instance transforms to install multiple instances, but it seems like no
matter what you do, you can't break the component rules.  Otherwise, it
won't install the files to the new locations, since it will think they
are already installed (based on the component ID and its installed state).

Kelly




Uma Harano uhar...@esri.com

12/07/2009 03:24 PM
Please respond to
General discussion for Windows Installer XML toolset.
wix-users@lists.sourceforge.net


To
General discussion for Windows Installer XML toolset.
wix-users@lists.sourceforge.net
cc

Subject
Re: [WiX-users] Instance transforms with the msi






Each instance has a unique Product Code. Also, I was following the
guidelines from the Windows installer SDK (On how to author instance
transforms).
How do I install the same set of files for multiple instances using
transforms?

Please advise!
Uma-


Here is the windows installer sdk topic on this:


Authoring Multiple Instances with Instance Transforms
To install multiple instances of a product from one Windows(r) Installer
package, you need to author a base installation package for the product
and an instance transform for each instance to be installed in addition to
the base instance. Use the following guidelines when authoring your base
package and transforms:

*Your setup application can check for the presence of the installer
running on a version of the Microsoft(r)Windows Server 2003 family,
Windows XP SP1, Windows 2000 SP4 and the Windows Installer

[WiX-users] Instance transforms with the msi

2009-12-07 Thread Uma Harano
Hi,
I am using instance transforms (msts) to install multiple instances of my base 
product (msi) on the same machine.

Everything works except for one issue:
I use an instance identifier property [INSTANCEPROP] that gets set 
toInstance1, Instance 2,...etc for each instance. I use this property to 
write registry keys for each instance. For example - 
HKLM\Software\ESRI\[INSTANCEPROP] is written via the registry table (One record 
in the registry table to linked to one component). When multiple instances are 
installed, this key could be repeated multiple times, but they would all be in 
their own hive
HKLM\Software\ESRI\ Instance1
HKLM\Software\ESRI\ Instance2
HKLM\Software\ESRI\ Instance3
Etc

Scenario:
The base setup and an instance 1 is installed, I uninstall the instance 1. I 
find that HKLM\Software\ESRI\Instance1 is still left behind on the machine 
after instance 1 is uninstalled.  Is this because the component that includes 
this registry key is still in the installed state with the base setup?
What would be the best way to ensure that the HKLM\Software\ESRI\Instance1 get 
removed when instance 1 is uninstalled? Should I make multiple components in 
the msi each with unique conditions for each transform? Or create a custom 
action that deletes the registry entry for each transform?

Thanks!
Uma Harano

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Instance transforms with the msi

2009-12-07 Thread Uma Harano
Each instance has a unique Product Code. Also, I was following the guidelines 
from the Windows installer SDK (On how to author instance transforms).
How do I install the same set of files for multiple instances using transforms?

Please advise!
Uma-


Here is the windows installer sdk topic on this:


Authoring Multiple Instances with Instance Transforms
To install multiple instances of a product from one Windows(r) Installer 
package, you need to author a base installation package for the product and an 
instance transform for each instance to be installed in addition to the base 
instance. Use the following guidelines when authoring your base package and 
transforms:

*Your setup application can check for the presence of the installer running on 
a version of the Microsoft(r)Windows Server 2003 family, Windows XP SP1, 
Windows 2000 SP4 and the Windows Installer 3.0 redistributable. Any of these 
installer versions (or later) are required to install multiple instances from a 
single package using a product code-changing transform. 
* Each instance must have a unique product code and instance identifier. You 
may define a property in the base package, the value of which can be set to the 
instance identifier. 
* To keep the files of each instance isolated, the base package should install 
files into a directory location that depends on the instance identifier. 
* To keep the nonfile data of each instance isolated, the base package should 
collect nonfile data into sets of components for each instance. The appropriate 
components should then be installed based on conditional statements that depend 
on the instance identifier. 
* Author an instance transform for each instance being installed in addition to 
the base instance. The base package may install its own instance. 
* The instance transform must change the product code and identifier for each 
instance. 
* It is recommended that the product transform also change the product name so 
that the instance is readily distinguished in Add/Remove Programs through 
Control Panel. 
* If the instance transform installs files, they should be installed in a 
directory that depends on the instance identifier. 
* All nonfile data, such as registry keys, should include the instance name in 
their path to prevent collisions. This can be accomplished by using the 
property whose value is the instance identifier in the path as shown by the 
following example of a Registry Table.


-Original Message-
From: kelly.le...@milliman.com [mailto:kelly.le...@milliman.com] 
Sent: Monday, December 07, 2009 2:52 PM
To: General discussion for Windows Installer XML toolset.
Cc: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Instance transforms with the msi

Are you using the same component GUID for each of these keys?  You can't 
do that...  It's breaking the component rules and all kinds of bad things 
happen when you break the component rules.

Each distinct component keypath (the 'main' entry in a component) MUST 
have a unique component GUID.  Each distinct component GUID can only be 
installed in one place on a given machine (you can't try to install the 
same GUID to two different keypaths).

Kelly




Uma Harano uhar...@esri.com 

12/07/2009 02:47 PM
Please respond to
General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net


To
General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
cc

Subject
[WiX-users] Instance transforms with the msi






Hi,
I am using instance transforms (msts) to install multiple instances of my 
base product (msi) on the same machine.

Everything works except for one issue:
I use an instance identifier property [INSTANCEPROP] that gets set 
toInstance1, Instance 2,...etc for each instance. I use this property 
to write registry keys for each instance. For example - 
HKLM\Software\ESRI\[INSTANCEPROP] is written via the registry table (One 
record in the registry table to linked to one component). When multiple 
instances are installed, this key could be repeated multiple times, but 
they would all be in their own hive
HKLM\Software\ESRI\ Instance1
HKLM\Software\ESRI\ Instance2
HKLM\Software\ESRI\ Instance3
Etc

Scenario:
The base setup and an instance 1 is installed, I uninstall the instance 1. 
I find that HKLM\Software\ESRI\Instance1 is still left behind on the 
machine after instance 1 is uninstalled.  Is this because the component 
that includes this registry key is still in the installed state with the 
base setup?
What would be the best way to ensure that the HKLM\Software\ESRI\Instance1 
get removed when instance 1 is uninstalled? Should I make multiple 
components in the msi each with unique conditions for each transform? Or 
create a custom action that deletes the registry entry for each transform?

Thanks!
Uma Harano

--
Return on Information:
Google Enterprise

Re: [WiX-users] How to populate a list box in a msi dialog duringruntime

2009-10-28 Thread Uma Harano
Thanks for the tips on how to populate a ListBox at runtime. I created a C++ 
dll to read a file on disc to populate the items in the listbox and it is 
working good for me now.
When my list box is populated at runtime, how do I ensure that the first item 
listed is highlighted?

(Might be a stupid question, but I am just not able to get that to work - I 
have tried setting the ListBox property to the first item, but that doesn't 
work either)

Thanks!
Uma-

-Original Message-
From: Dominique Louis [mailto:dominique.lo...@amxeurope.com] 
Sent: Monday, October 19, 2009 9:06 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to populate a list box in a msi dialog 
duringruntime

Thanks for pointing out the EnsureTable tag. I'll use that from now on.
Much cleaner.

-Original Message-
From: Alex Cater [mailto:alex.ca...@apdcomms.com] 
Sent: 19 October 2009 11:03
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to populate a list box in a msi dialog
duringruntime



Dominique Louis wrote:
 
 There must be at least 1 dummy ListItem, otherwise the appropriate
table
 will not be created.
 

The  http://wix.sourceforge.net/manual-wix2/wix_xsd_ensuretable.htm
EnsureTable  element can be used to cleanly accomplish this:

e.g. EnsureTable Id=***TableName***/
-- 
View this message in context:
http://n2.nabble.com/How-to-populate-a-list-box-in-a-msi-dialog-during-r
untime-tp3811329p3848166.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and
stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
AMX

AMX UK
Auster Road
Clifton Moor
York, North Yorkshire
United Kingdom
YO30 4GD

+44 (0) 1904 343100 office
+44 (0) 1904 343101 fax

AMX South
6th Floor Salisbury House
London Wall
London
United Kingdom
EC2M 5QQ

+44 (0) 2076 529450 office
+44 (0) 8701 991661 fax

AMX Belgium
Boerenkrijglaan, 96a
B-2260
Westerlo
Belgium


+ 32 (0) 1454 2763  office
+ 32 (0) 1454 2766  fax

##
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This email was scanned and cleared by NetIQ MailMarshal.
##

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Are short names even useful anymore?

2009-10-17 Thread Uma Harano
There are some deployment tools (Radia) that support only Short file  
name deployment of msis.



On Oct 17, 2009, at 5:57 PM, Jeremy Farrell  
jfarr...@pillardata.com wrote:

 Don't forget that the WI team are still living back before UNICODE  
 was invented.

 WI, the team that time forgot.

 -Original Message-
 From: Christopher Painter [mailto:chr...@deploymentengineering.com]
 Sent: Saturday, October 17, 2009 6:27 PM
 To: d...@tramontana.co.hu; General discussion for Windows
 Installer XML toolset.
 Subject: Re: [WiX-users] Are short names even useful anymore?

 I think the point is all of this is pointless and yes, quite
 useless to the vast majority of the world.

 Case in point..  Rename SomeDotNetAssembly.dll to
 SomeDo~1.dll or some other hashed/transformed representation
 like WiX does and try referencing the classes in it after
 it's installed.   The CLR will throw an exception in a heartbeat.

 I suppose someone out there still needs this functionality
 but it's got to be a .1% use case by now.

 If I'm wrong, I'd love to know of real world use cases other
 then someone might be trying to do an HTTP stream ( which no
 one does anyways ) or passing a public property that would
 break my application anyways.

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


 --- On Sat, 10/17/09, Rob Mensching r...@robmensching.com wrote:

 From: Rob Mensching r...@robmensching.com
 Subject: Re: [WiX-users] Are short names even useful anymore?
 To: d...@tramontana.co.hu, General discussion for Windows
 Installer XML toolset. wix-users@lists.sourceforge.net
 Date: Saturday, October 17, 2009, 10:39 AM
 That and if you try to use the
 install an MSI over HTTP (which is such a
 pain to deal with it isn't worth it) the Windows Installer
 will use short
 names as well. Oh, and the user can technically speaking
 always pass in the
 SHORTFILENAMES Property and force your MSI to use short
 filenames.
 I don't quite follow the question though. MSI requires
 short filenames. WiX
 v3 will auto-generate them in a stable and highly-unlikely
 to collide sort
 of way. Why does it matter?

 virtually, Rob Mensching - http://robmensching.com

 2009/10/17 DEÁK JAHN, Gábor d...@tramontana.co.hu

 On Tue, 13 Oct 2009 15:17:32 -0700, Blair wrote:

 Blair,

 the last time I heard this question mentioned from
 some of the developers,
 maybe Rob, the answer always was that the only real
 reason for short names
 was that some old Novel servers couldn't cope with
 long names and removing
 this would make it impossible to make network
 installations on those
 servers. I don't know if this is still an issue
 today.

 Bye,
Gábor


 ---
 DEÁK JAHN, Gábor -- Budapest, Hungary
 E-mail: d...@tramontana.co.hu




 --
 
 Come build with us! The BlackBerry(R) Developer
 Conference in SF, CA
 is the only developer event you need to attend this
 year. Jumpstart your
 developing skills, take BlackBerry mobile applications
 to market and stay
 ahead of the curve. Join us from November 9 - 12,
 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 --
 
 Come build with us! The BlackBerry(R) Developer Conference
 in SF, CA
 is the only developer event you need to attend this year.
 Jumpstart your
 developing skills, take BlackBerry mobile applications to
 market and stay
 ahead of the curve. Join us from November 9 - 12, 2009.
 Register now!
 http://p.sf.net/sfu/devconference
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users





 --
 
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year.
 Jumpstart your
 developing skills, take BlackBerry mobile applications to
 market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 --- 
 --- 
 --- 
 -
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart  
 your
 developing skills, take BlackBerry mobile applications to market and  
 stay
 ahead of the curve. Join us from November 9 

[WiX-users] How to populate a list box in a msi dialog during runtime

2009-10-12 Thread Uma Harano
Hi,
I need to populate a ListBox control in a MSI dialog at runtime. What is the 
best way to do this?
Thanks!
Uma-
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Registry keys in merge modules

2009-09-03 Thread Uma Harano
Let me re-phrase my question -
Is there anyway a .reg file can be converted into a merge module project using 
WiX 3.0?
Thanks!
Uma-

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: Sunday, August 30, 2009 10:20 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Registry keys in merge modules

Uma Harano wrote:
 Is there any way to do this with WiX? 
It's not supported. It's easy to violate component rules.

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



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Registry keys in merge modules

2009-08-27 Thread Uma Harano
Hi,
I would like to import .reg files during compile time of my merge module. I 
have many.reg files that change very often. So I would like to import it to my 
components at compile time so that when I generate the merge module every day, 
it has the latest Registry keys (obtained from the .reg files) in it.

Is there any way to do this with WiX? I am using the Visual Studio 2008 IDE to 
develop my merge modules with WiX 3.0.

Thanks!
Uma Harano
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users