[WiX-users] The impact of merging multiple merge modules into one package when each of msm contains WixIisExtension

2012-10-16 Thread Daming Fu
Hi,

I'm new to WiX. I have multiple merge modules, each of which sets up a web
application via WixIisExtension. 
When I merged them together, I received a lot of LGHT1055, LGHT1056 warnings
like:

(143) : warning LGHT1056 : The CustomAction table contains a row with
primary ke
y(s) 'RemoveUser' which cannot be merged from the merge module 'xxx.msm'. 
This i
s likely due to collision of rows with the same primary key(s) (but other
differ
ent values in other columns) between the database and the merge module.

(144) : warning LGHT1055 : The InstallExecuteSequence table contains an
action '
ConfigureUsers' which cannot be merged from the merge module 'xxx.msm'. 
This act
ion is likely colliding with an action in the database that is being
created.  T
he colliding action may have been authored in the database or merged in from
ano
ther merge module.  If this is a standard action, it is likely colliding due
to
a difference in the condition for the action in the database and merge
module.
If this is a custom action, it should only be declared in the database or
one me
rge module.

I tend to not put all components using WixIisExtension in a single
MergeModule. I have to keep separate merge modules and merge some of them
when needed.
So my question is:

Can I ignore these warnings or should I do anything to eliminate these
warning?


Kind Regards,

Daming




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/The-impact-of-merging-multiple-merge-modules-into-one-package-when-each-of-msm-contains-WixIisExtensn-tp7581396.html
Sent from the wix-users mailing list archive at Nabble.com.

--
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] FW: Patch installation asks for a reboot

2012-10-16 Thread abhijit chakraborty
Hi,
There is still one more problem.
I thought if I change the install execute sequence in the target msi, that
will be picked up by the msp.
However when I drop the msp on the base msi in Orca tool I do not see any
change in the install sequence.

All the new components that I have added, modified seem to be there in the
tables - basically I can see all other changes that I have made in the
patch except for the install execute sequence change.

Can you please provide some idea as to what might be happening here?

Regards
Abhijit


> -Original Message-
> From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Sent: Tuesday, October 16, 2012 4:18 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Patch installation asks for a reboot
>
> A patch works by transforming the installed and cached MSI with the patch
> and then running a repair on the resulting MSI. That's why you see the MSI
> apparently installing again.
> Altering the condition to NOT REMOVE AND NOT PATCH in the patch sounds
> like a reasonable fix, if you're certain that the condition that required
> the reboot won't occur again.
>
> -Original Message-
> From: abhijit chakraborty [mailto:abhi.chak.ju...@gmail.com]
> Sent: 16 October 2012 11:23
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Patch installation asks for a reboot
>
> Hi,
> We are creating a patch on top of already shipped product.
>
> In the product msi we schedule a reboot like  sequence=AfterInstallFinalize>NOT REMOVE
>
> It appears while installing the patch which targets the above msi, it
> reruns the msi and a reboot gets scheduled.
>
> Is there any way we can avoid the ScheduleReboot while installing the
> patch?
>
> Will changing the schedule reboot condition in product msi to something
> like *NOT REMOVE AND NOT PATCH* or, *NOT REMOVE AND NOT OLDERPRODUCTFOUND*
> help?
>
> While re-running the msi installsequence does the patch pick up the
> actions from already installed msi i.e is it runtime event?
> Or, the msi installsequence run by the patch is determined at compile time
> (I.e. if I change the condition for reboot in the product msi will it be
> honored by the patch)?
>
> Regards
> Abhijit
>
> -
> -
> 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
> SDL PLC confidential, all rights reserved.
> If you are not the intended recipient of this mail SDL requests and
> requires that you delete it without acting upon or copying any of its
> contents, and we further request that you advise us.
> SDL PLC is a public limited company registered in England and Wales.
>  Registered number: 02675207.
> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
> 7DY, UK.
>
>
>
> --
> 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
>
>
--
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] Setting the version number...

2012-10-16 Thread Steven Ogilvie
So I have a include file called Variables.wxi which has the define product 
version
I have a MergeModule which as the fileID.
The  include file is included in both product.wxs and mergemodule.wxs

If I use either the GUID from the component within the merge module or use the 
package ID from the merge module it fails:


I get:
Error   4   Unresolved bind-time variable 
!(bind.fileVersion.file_TMCResources.D0328AB9_4135_4C11_9FF7_3887FB6573A6). 
  C:\Dev\Core Technologies\Main\Setup\TMC_Client_Setup\Product.wxs5 
  1   TMC_Client_Setup

Or use this:

I get this:
Error   4   The Windows Installer XML variable 
!(wix.FileVersion.file_TMCResources.D0328AB9_4135_4C11_9FF7_3887FB6573A6) is 
unknown.  Please ensure the variable is declared on the command line for 
light.exe, via a WixVariable element, or inline using the syntax 
!(wix.FileVersion.file_TMCResources.D0328AB9_4135_4C11_9FF7_3887FB6573A6=some 
value which doesn't contain parenthesis).   C:\Dev\Core 
Technologies\Main\Setup\TMC_Client_Setup\Product.wxs5   1   
TMC_Client_Setup

Using latest release version of Wix 3.6

Steve

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: October-16-12 5:54 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Setting the version number...

Merge Modules "modularize" the identifiers (append the .G_U_I_D). So you must 
do that too.

On Tue, Oct 16, 2012 at 2:15 PM, StevenOgilvie  wrote:

> Hi Rob,
>
> I have a wxi variable file with:
>   
>
> then my product.wxs file with:
> Name="$(var.ProductName)"
>Language="1033"
>Version="$(var.ProductVersion)"
>
> I compile using VS2010 and get these errors:
> Error   4   The Windows Installer XML variable
> !(wix.FileVersion.file_TMCResources) is unknown.  Please ensure the 
> variable is declared on the command line for light.exe, via a 
> WixVariable element, or inline using the syntax 
> !(wix.FileVersion.file_TMCResources=some value which
> doesn't contain parenthesis).   C:\Dev\Core
> Technologies\Main\Setup\TMC_Client_Setup\Product.wxs5   1
> TMC_Client_Setup
>
> I have a merge module (which includes the variables.wxi) which 
> contains that file id:
>  Guid="{SOME_GUID}" Permanent="no" 
> Shared="no">
>Source="$(var.tmcSourcePath)\TMC_Resources.dll" />
>   
>
> Must be an easy way to read a fileversion and use that as your 
> productversion?
>
> Steve
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setting-
> the-version-number-tp5942903p7581390.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> --
>  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


Re: [WiX-users] Setting the version number...

2012-10-16 Thread Rob Mensching
Merge Modules "modularize" the identifiers (append the .G_U_I_D). So you
must do that too.

On Tue, Oct 16, 2012 at 2:15 PM, StevenOgilvie  wrote:

> Hi Rob,
>
> I have a wxi variable file with:
>   
>
> then my product.wxs file with:
> Name="$(var.ProductName)"
>Language="1033"
>Version="$(var.ProductVersion)"
>
> I compile using VS2010 and get these errors:
> Error   4   The Windows Installer XML variable
> !(wix.FileVersion.file_TMCResources) is unknown.  Please ensure the
> variable
> is declared on the command line for light.exe, via a WixVariable element,
> or
> inline using the syntax !(wix.FileVersion.file_TMCResources=some value
> which
> doesn't contain parenthesis).   C:\Dev\Core
> Technologies\Main\Setup\TMC_Client_Setup\Product.wxs5   1
> TMC_Client_Setup
>
> I have a merge module (which includes the variables.wxi) which contains
> that
> file id:
>  Guid="{SOME_GUID}" Permanent="no"
> Shared="no">
>Source="$(var.tmcSourcePath)\TMC_Resources.dll" />
>   
>
> Must be an easy way to read a fileversion and use that as your
> productversion?
>
> Steve
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setting-the-version-number-tp5942903p7581390.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> --
> 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


[WiX-users] MSP help, please

2012-10-16 Thread Laurene Koman
Problem:  dll won't  update with an MSP.

History:
Released MSI  with a language MST applied. The version information in the file 
table is removed by the MST  AND the dll has an entry in the MSIFileHash table.
Applying an MSP to update this dll ( the updating dll and MSP include valid 
version information) - the dll is not updated.   Also, the dll is the key path 
component - so companion files isn't an option.

Any viable option to get it to update with an MSP?

Thanks!

--
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] Removing table in the Patch

2012-10-16 Thread Fyodor Koryazhkin
Hi,
I have an installer that has two entries in RemoveFile table. This is done
to update during Major upgrade files that were edited by the customer.
During Patch this leads to problem because files are deleted therefore
these entries were removed in new package.
There is no problem with one patch and files remaining on the disk but when
the second patch is created with removed table it cannot be applied.

It does not matter in what sequence patches are installed they cannot be
applied on each other.

The question is whether during patch installation tables or individual
entries in tables not related to Components can be removed?

Thank you.

-- 
Regards,
Fyodor Koryazhkin..
--
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] Setting the version number...

2012-10-16 Thread StevenOgilvie
Hi Rob,

I have a wxi variable file with:
  

then my product.wxs file with:

  
  

Must be an easy way to read a fileversion and use that as your
productversion?

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Setting-the-version-number-tp5942903p7581390.html
Sent from the wix-users mailing list archive at Nabble.com.

--
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] ActionData to show file names

2012-10-16 Thread Hoover, Jacob
This might help as a starting point: 
http://wix.tramontana.co.hu/tutorial/user-interface-revisited/is-this-progress

...
Copying new files
...



  



A while back I found the some of the parameters documented on MSDN, but I can't 
seem to find it today.

-Original Message-
From: Natalie Carr [mailto:natalie.c...@measuresoft.com] 
Sent: Tuesday, October 16, 2012 10:12 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] ActionData to show file names

No problem Steve, I will post when I have it working. Messing around with it 
now to try to get it working..:)

-Original Message-
From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
Sent: 16 October 2012 15:53
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ActionData to show file names

Hi Natalie,

When you get that working I would love to see the code (that would be something 
I would be interested in seeing in my install as well)

Steve

-Original Message-
From: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Sent: October-16-12 10:39 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ActionData to show file names

Hi, 

 

I want to show each file that is getting installed I used the actiondata
control:





 

 

It shows the full file and directory but I would only like it to show the file. 
Is this possible?

I am also installing a service that's name is a property found at install time, 
however when I changed this it gave the DisplayName as the literal property 
name.

 

Kind Regards,

 

Natalie Carr

 

 


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


[WiX-users] Determine whether the cancel button is pressed in a custom action during a msi installation in C#

2012-10-16 Thread abhitej john
Hi,
Is there a way we can find out if the "Cancel" button is pressed by the
user when a custom action is being executed by an MSI? I need to roll back
the changes in this case. It is fine if this can be found out just after
the custom action has finished executing.
Most of the info I have found till now explains a C++ solution. Can you
please point me to a C# solution for the same.

-- 
Thanks and Regards,
Abhitej John
--
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] ActionData to show file names

2012-10-16 Thread Natalie Carr
No problem Steve, I will post when I have it working. Messing around with it
now to try to get it working..:)

-Original Message-
From: Steven Ogilvie [mailto:steven.ogil...@titus.com] 
Sent: 16 October 2012 15:53
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ActionData to show file names

Hi Natalie,

When you get that working I would love to see the code (that would be
something I would be interested in seeing in my install as well)

Steve

-Original Message-
From: Natalie Carr [mailto:natalie.c...@measuresoft.com]
Sent: October-16-12 10:39 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ActionData to show file names

Hi, 

 

I want to show each file that is getting installed I used the actiondata
control:





 

 

It shows the full file and directory but I would only like it to show the
file. Is this possible?

I am also installing a service that's name is a property found at install
time, however when I changed this it gave the DisplayName as the literal
property name.

 

Kind Regards,

 

Natalie Carr

 

 


--
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] ActionData to show file names

2012-10-16 Thread Steven Ogilvie
Hi Natalie,

When you get that working I would love to see the code (that would be something 
I would be interested in seeing in my install as well)

Steve

-Original Message-
From: Natalie Carr [mailto:natalie.c...@measuresoft.com] 
Sent: October-16-12 10:39 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ActionData to show file names

Hi, 

 

I want to show each file that is getting installed I used the actiondata
control:





 

 

It shows the full file and directory but I would only like it to show the file. 
Is this possible?

I am also installing a service that's name is a property found at install time, 
however when I changed this it gave the DisplayName as the literal property 
name.

 

Kind Regards,

 

Natalie Carr

 

 

--
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] ActionData to show file names

2012-10-16 Thread Natalie Carr
Hi, 

 

I want to show each file that is getting installed I used the actiondata
control:





 

 

It shows the full file and directory but I would only like it to show the
file. Is this possible?

I am also installing a service that's name is a property found at install
time, however when I changed this it gave the DisplayName as the literal
property name.

 

Kind Regards,

 

Natalie Carr

 

 

--
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] FW: error

2012-10-16 Thread Chaitanya
 

 

From: Chaitanya [mailto:chaita...@pointcross.com] 
Sent: 15 October 2012 21:28
To: 'r...@robmensching.com'
Subject: error

 

Hi rob,

I attached my code.

There iam getting error called "illegal characters in path".

I checked each nd every line but I dint get from very its throwing error.

Please help me.

Where iam doing wrong

Thanks,

chaitanya

--
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] MSI to behave differently on workstation and on server

2012-10-16 Thread Peter Shirtcliffe
You can use component conditions based in this property 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370329%28v=vs.85%29
.aspx

-Original Message-
From: samuel.feren...@barclays.com [mailto:samuel.feren...@barclays.com] 
Sent: 16 October 2012 14:17
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] MSI to behave differently on workstation and on server

Hi all,

We use WIX to create two MSI installers: one for servers, one for
workstations. We'd like to merge these into one.

The two MSIs are almost identical; the only difference is in what they write
into the registry (and where in the registry they write it).

Is it possible to create an MSI that would
1)  detect whether it's being run on a server
2)  modify registry in one of two ways, depending on the context?

Thanks,
Sam


___

This e-mail may contain information that is confidential, privileged or
otherwise protected from disclosure. If you are not an intended recipient of
this e-mail, do not duplicate or redistribute it by any means. Please delete
it and any attachments and notify the sender that you have received it in
error. Unless specifically indicated, this e-mail is not an offer to buy or
sell or a solicitation to buy or sell any securities, investment products or
other financial product or service, an official confirmation of any
transaction, or an official statement of Barclays. Any views or opinions
presented are solely those of the author and do not necessarily represent
those of Barclays. This e-mail is subject to terms available at the following
link: www.barclays.com/emaildisclaimer. 
By messaging with Barclays you consent to the foregoing.  Barclays offers
premier investment banking products and services to its clients through
Barclays Bank PLC, a company registered in England (number 1026167) with its
registered office at 1 Churchill Place, London, E14 5HP.  This email may
relate to or be sent from other members of the Barclays Group.

___
-
-
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
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
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] MSI to behave differently on workstation and on server

2012-10-16 Thread samuel.ferencik
Hi all,

We use WIX to create two MSI installers: one for servers, one for workstations. 
We'd like to merge these into one.

The two MSIs are almost identical; the only difference is in what they write 
into the registry (and where in the registry they write it).

Is it possible to create an MSI that would
1)  detect whether it's being run on a server
2)  modify registry in one of two ways, depending on the context?

Thanks,
Sam


___

This e-mail may contain information that is confidential, privileged or 
otherwise protected from 
disclosure. If you are not an intended recipient of this e-mail, do not 
duplicate or redistribute 
it by any means. Please delete it and any attachments and notify the sender 
that you have received 
it in error. Unless specifically indicated, this e-mail is not an offer to buy 
or sell or a 
solicitation to buy or sell any securities, investment products or other 
financial product or 
service, an official confirmation of any transaction, or an official statement 
of Barclays. Any 
views or opinions presented are solely those of the author and do not 
necessarily represent those 
of Barclays. This e-mail is subject to terms available at the following link: 
www.barclays.com/emaildisclaimer. 
By messaging with Barclays you consent to the foregoing.  Barclays offers 
premier investment banking 
products and services to its clients through Barclays Bank PLC, a company 
registered in England 
(number 1026167) with its registered office at 1 Churchill Place, London, E14 
5HP.  This email may 
relate to or be sent from other members of the Barclays Group.

___
--
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 installation asks for a reboot

2012-10-16 Thread Peter Shirtcliffe
A patch works by transforming the installed and cached MSI with the patch and
then running a repair on the resulting MSI. That's why you see the MSI
apparently installing again.
Altering the condition to NOT REMOVE AND NOT PATCH in the patch sounds like a
reasonable fix, if you're certain that the condition that required the reboot
won't occur again. 

-Original Message-
From: abhijit chakraborty [mailto:abhi.chak.ju...@gmail.com] 
Sent: 16 October 2012 11:23
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Patch installation asks for a reboot

Hi,
We are creating a patch on top of already shipped product.

In the product msi we schedule a reboot like NOT REMOVE

It appears while installing the patch which targets the above msi, it reruns
the msi and a reboot gets scheduled.

Is there any way we can avoid the ScheduleReboot while installing the patch?

Will changing the schedule reboot condition in product msi to something like
*NOT REMOVE AND NOT PATCH* or, *NOT REMOVE AND NOT OLDERPRODUCTFOUND* help?

While re-running the msi installsequence does the patch pick up the actions
from already installed msi i.e is it runtime event?
Or, the msi installsequence run by the patch is determined at compile time
(I.e. if I change the condition for reboot in the product msi will it be
honored by the patch)?

Regards
Abhijit
-
-
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
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
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] WixManagedBootstrapperApplicationHost and .NET 2.0

2012-10-16 Thread Igor Brejc
Ok, I think I'm on to something.
The ".NET missing dialog" no longer shows I have the following .config
fragment commented out:


  


Once I put the supportedFramework tags back into XML code, the dialog again
starts to show up.
Any explanations?

p.s. one other thing: what is the appropriate supportedFramework for .NET
2.0? "v2.0" or just "v2"?

On Tue, Oct 16, 2012 at 10:14 AM, Igor Brejc  wrote:

> On Mon, Oct 15, 2012 at 7:15 PM, Rob Mensching wrote:
>
>> What does your BootstrapperCore.config file look like? Does it correctly
>> indicate the v2 NETFX should be used?
>> On Mon, Oct 15, 2012 at 2:18 AM, Igor Brejc  wrote:
>>
>>
> Hi Rob,
>
> I've tried many combinations. Here's a typical one:
>
> 
>   
> 
> type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup,
> BootstrapperCore">
>   
> type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection,
> BootstrapperCore" />
> 
>   
>   
> 
> 
>   
>   
> 
>   
>   
>   
>   
> 
>   
> 
>
> Here's the Netfx package fragment from Bundle.wxs:
>
>   
> 
>
> 
>  Cache="no"
>   Compressed="no"
>   PerMachine="yes"
>   Permanent="yes"
>   Vital="no"
>   SourceFile="C:\Users\brejc\Downloads\NetFx20SP2_x86.exe"
>   DownloadUrl="
> http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe
> "
>   DetectCondition="NETFRAMEWORK20"
>   InstallCondition="FALSE"/>
> 
>   
>
>  What's really odd is that I've now actually managed to make it work on
> .NET 2.0-only machine (the ".NET missing" dialog is no longer shown). But
> the problem is that I don't really know what caused it work, and
> consequently I cannot know how to deal with this in the future. Now even if
> I try to force it back to showing ".NET missing" dialog, I cannot do it.
>
> One other thing: I'm looking at the burn log from that machine and it
> reports NETFRAMEWORK20 condition to be False:
>
> [0DDC:04C8][2012-10-16T09:38:20]: Setting string variable 'Netfx2' to
> value '2.2.30729'
> [0DDC:04C8][2012-10-16T09:38:20]: Condition 'NETFRAMEWORK20' evaluates to
> false.
> [0DDC:04C8][2012-10-16T09:38:20]: Detected partially cached package:
> mpwi_x86.msi, invalid payload: mpwi_x86.msi, reason: 0x80070570
> [0DDC:04C8][2012-10-16T09:38:20]: Detected package: Netfx2Exe, state:
> Absent, cached: None
>
> .NET 2.0 is definitively installed on the machine (SP 2).
> I'm sure I'm doing something wrong, but I cannot really tell what.
>
> Thanks,
> Igor
>
--
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] WixManagedBootstrapperApplicationHost and .NET 2.0

2012-10-16 Thread Igor Brejc
On Mon, Oct 15, 2012 at 7:15 PM, Rob Mensching  wrote:

> What does your BootstrapperCore.config file look like? Does it correctly
> indicate the v2 NETFX should be used?
> On Mon, Oct 15, 2012 at 2:18 AM, Igor Brejc  wrote:
>
>
Hi Rob,

I've tried many combinations. Here's a typical one:


  

  

  
  


  
  

  
  
  
  

  


Here's the Netfx package fragment from Bundle.wxs:

  



  http://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe
"
  DetectCondition="NETFRAMEWORK20"
  InstallCondition="FALSE"/>

  

What's really odd is that I've now actually managed to make it work on .NET
2.0-only machine (the ".NET missing" dialog is no longer shown). But the
problem is that I don't really know what caused it work, and consequently I
cannot know how to deal with this in the future. Now even if I try to force
it back to showing ".NET missing" dialog, I cannot do it.

One other thing: I'm looking at the burn log from that machine and it
reports NETFRAMEWORK20 condition to be False:

[0DDC:04C8][2012-10-16T09:38:20]: Setting string variable 'Netfx2' to value
'2.2.30729'
[0DDC:04C8][2012-10-16T09:38:20]: Condition 'NETFRAMEWORK20' evaluates to
false.
[0DDC:04C8][2012-10-16T09:38:20]: Detected partially cached package:
mpwi_x86.msi, invalid payload: mpwi_x86.msi, reason: 0x80070570
[0DDC:04C8][2012-10-16T09:38:20]: Detected package: Netfx2Exe, state:
Absent, cached: None

.NET 2.0 is definitively installed on the machine (SP 2).
I'm sure I'm doing something wrong, but I cannot really tell what.

Thanks,
Igor
--
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] Elevation of Bootstrapper Application

2012-10-16 Thread Daniel Bruce
Thank you for your answers, Neil and Rob. I have dabbled with persist="yes" 
before, and it didn't seem like it worked for me, but I may just have not been 
doing it correctly. Am I right in assuming that doing a definition like this 
would cause the variable to persist and when uninstalling it will retain the 
value it had at the end of the initial installation, with no extra work 
involved?



I would prefer to not do it this way, as doing so would require pushing the 
responsibility for defining the persisted data into the bundle.wxs, which 
splits my data in a way I would like to avoid. We use the same MBA with 
multiple bundle.wxs files (with various subsets of our product suite), so it 
would make the installers less DRY if we had to define the variables each 
bundle.wxs needed. However, if it were possible to mark variables for 
persisting from the MBA, that would be perfectly fine for our solution, as we 
are right now just persisting certain Burn variables written to during the 
installation process. 

Regarding elevation, looking into the problem more seems to indicate that my 
options are to either put a manifest on our bundle executable, or launch a 
child process with elevated privileges and communicate data I need handled in 
an elevated context to that child process (from what I can tell, this is what 
burn does). Is this correct, or have I missed any simpler ways of elevating?

Daniel E. Bruce

> -Original Message-
> From: Rob Mensching [mailto:r...@robmensching.com]
> Sent: 15. oktober 2012 19:14
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Elevation of Bootstrapper Application
> 
> It remembers them for a specific Bundle. There is not currently a
> mechanism to get to the state of another Bundle (I think there is a
> feature request open to enable that).
> 
> On Mon, Oct 15, 2012 at 10:10 AM, Neil Sleightholm
> wrote:
> 
> > >> you can set Variables and mark them Persist='yes' and Burn will
> > remember them for you.
> >
> > Am I correct that it remembers them for Uninstall/Repair but there is
> > no way to recall them if you do an upgrade?
> >
> > Neil
> >
> > -Original Message-
> > From: Rob Mensching [mailto:r...@robmensching.com]
> > Sent: 15 October 2012 17:50
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Elevation of Bootstrapper Application
> >
> > Neil is correct. The BA is not elevated because it does not rollback
> > but the package installs do.
> >
> > If you just want to store settings for your BA, you can set Variables
> > and mark them Persist='yes' and Burn will remember them for you.
> That
> > sounds like it might be more applicable for you anyway.
> >
> >
> >
> > --
> >  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
> >
> 
> 
> 
> --
> virtually,
> 
>Rob Mensching
>http://RobMensching.com LLC
> --
> 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
> 
> ___
> ___
> This email has been scanned by the Symantec Email Security.cloud
> service.
> For more information please visit http://www.symanteccloud.com
> ___
> ___

--
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] WiX 3.6 MergeModule creation regression?

2012-10-16 Thread Dirk Ziegelmeier
will do!

Dirk
--
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