Re: [WiX-users] Same component guid, different products

2011-04-01 Thread Thorsten Tarrach
One is enough, but it needs to be placed with a different GUID into every
MSI. One is enough because the StartService and StopService custom actions
are scheduled before and after installation of files. So that stop takes
effect before and start after installation. But it does need to be present
for every feature.

 -Original Message-
 From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Sent: 30 March 2011 10:11
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Same component guid, different products
 
 In that case, I think you'll have to put a new service control element
with
 each component (or perhaps just each feature) that needs to restart IIS.
 
 -Original Message-
 From: Thorsten Tarrach [mailto:thors...@atomia.com]
 Sent: 30 March 2011 08:39
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: Re: [WiX-users] Same component guid, different products
 
 Hi Peter,
 
 Thanks for your reply. The ServiceDependency element is only applicable
 when I install a new service.
 
 Thanks, Thorsten
 
  -Original Message-
  From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
  Sent: 29 March 2011 11:57
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Same component guid, different products
 
  Yes, the component will be reference counted. The component rules
  allow the same component to be installed to several directories
 simultaneously.
  The service control is performed only when installing or removing the
  component so it won't behave as you require.
 
  I've never used them myself but have you tried using ServiceDependency
  elements ?
 
 
  -Original Message-
  From: Thorsten Tarrach [mailto:thors...@atomia.com]
  Sent: 29 March 2011 10:13
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] Same component guid, different products
 
  Hi everyone,
 
  We have a shared library for all our products we include during
 compilation.
  Now I would like to stop and start IIS during installation because
  running
 iis
  applications can get in the way of updates. This is very easily done
  with
 the
  fragment below.
 
Fragment
  Component Id=CStartStop Guid={DDE4A64B-54B8-4679-A49A-
  4BCE95CFF793}
  Directory=FProduct
CreateFolder/
ServiceControl Id=W3SVC Name=W3SVC Start=both
  Stop=both/
  /Component
/Fragment
 
  Now, if I reference this in several products, they all have the same
Guid.
  Will that cause the component to be reference counted? FProduct is
  different for every product. It is important this starting and
  stopping is
 done
  every time, not just for the first product.
 
  Thanks, Thorsten
 
 
 


 -
  -
  Enable your software for Intel(R) Active Management Technology to meet
  the growing manageability and security demands of your customers.
  Businesses are taking advantage of Intel(R) vPro (TM) technology -
  will
 your
  software be a part of the solution? Download the Intel(R)
  Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
  ___
  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.
 
 
 


 --
  Enable your software for Intel(R) Active Management Technology to meet
  the growing manageability and security demands of your customers.
  Businesses are taking advantage of Intel(R) vPro (TM) technology -
  will
 your
  software be a part of the solution? Download the Intel(R)
  Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 


-
 -
 Enable your software for Intel(R) Active Management Technology to meet
 the growing manageability and security demands of your customers.
 Businesses are taking advantage of Intel(R) vPro (TM) technology - will
your
 software be a part of the solution? Download the Intel(R) Manageability
 Checker today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] Same component guid, different products

2011-03-30 Thread Thorsten Tarrach
Hi Peter,

Thanks for your reply. The ServiceDependency element is only applicable when
I install a new service.

Thanks, Thorsten

 -Original Message-
 From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Sent: 29 March 2011 11:57
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Same component guid, different products
 
 Yes, the component will be reference counted. The component rules allow
 the same component to be installed to several directories simultaneously.
 The service control is performed only when installing or removing the
 component so it won't behave as you require.
 
 I've never used them myself but have you tried using ServiceDependency
 elements ?
 
 
 -Original Message-
 From: Thorsten Tarrach [mailto:thors...@atomia.com]
 Sent: 29 March 2011 10:13
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Same component guid, different products
 
 Hi everyone,
 
 We have a shared library for all our products we include during
compilation.
 Now I would like to stop and start IIS during installation because running
iis
 applications can get in the way of updates. This is very easily done with
the
 fragment below.
 
   Fragment
 Component Id=CStartStop Guid={DDE4A64B-54B8-4679-A49A-
 4BCE95CFF793}
 Directory=FProduct
   CreateFolder/
   ServiceControl Id=W3SVC Name=W3SVC Start=both
 Stop=both/
 /Component
   /Fragment
 
 Now, if I reference this in several products, they all have the same Guid.
 Will that cause the component to be reference counted? FProduct is
 different for every product. It is important this starting and stopping is
done
 every time, not just for the first product.
 
 Thanks, Thorsten
 
 


-
 -
 Enable your software for Intel(R) Active Management Technology to meet
 the growing manageability and security demands of your customers.
 Businesses are taking advantage of Intel(R) vPro (TM) technology - will
your
 software be a part of the solution? Download the Intel(R) Manageability
 Checker today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 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.
 
 


--
 Enable your software for Intel(R) Active Management Technology to meet
 the growing manageability and security demands of your customers.
 Businesses are taking advantage of Intel(R) vPro (TM) technology - will
your
 software be a part of the solution? Download the Intel(R) Manageability
 Checker today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Same component guid, different products

2011-03-29 Thread Thorsten Tarrach
Hi everyone,

We have a shared library for all our products we include during compilation.
Now I would like to stop and start IIS during installation because running
iis applications can get in the way of updates. This is very easily done
with the fragment below.

  Fragment
Component Id=CStartStop Guid={DDE4A64B-54B8-4679-A49A-4BCE95CFF793}
Directory=FProduct
  CreateFolder/
  ServiceControl Id=W3SVC Name=W3SVC Start=both Stop=both/
/Component
  /Fragment

Now, if I reference this in several products, they all have the same Guid.
Will that cause the component to be reference counted? FProduct is different
for every product. It is important this starting and stopping is done every
time, not just for the first product.

Thanks, Thorsten


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Uninstallation removes nothing

2011-01-23 Thread Thorsten Tarrach
That is interesting. However I did not use the cleanup tool on that machine
until I had the problem. Next time I will monitor the component count
closely and as soon as the problem occurs I will come back here with the
registry entries.

 -Original Message-
 From: Pally Sandher [mailto:pally.sand...@iesve.com]
 Sent: 21 January 2011 17:09
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Uninstallation removes nothing
 
 I saw a user with a very similar sounding issue because he'd used the
 Windows Installer Clean Up tool to remove a build of our software he
 believed was a bad install (thanks InstallShield et al for mis-educating
users
 for years)  then re-installed using the same installer. He knew nothing
of
 Component Rules  Component reference counting  I couldn't find a way
 to force a second uninstall after the first so the Components reference
 counts were all permanently stuck at 1 (hence no removal of files).
 
 We had to rebuild his machine to get around it. If you find a solution I'd
be
 very interested.
 
 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: Rob Mensching [mailto:r...@robmensching.com]
 Sent: 21 January 2011 15:49
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Uninstallation removes nothing
 
 Hmm, you may have confused the Windows Installer. Mucking around with
 their private store isn't usually a good idea. smile/
 
 On Fri, Jan 21, 2011 at 6:59 AM, Thorsten Tarrach
 thors...@atomia.comwrote:
 
  Hello,
 
 
 
  I played around with Major Updates and somehow I got into a situation
  now where none of the files is removed by uninstallation. It is not an
 
  error with the package, as the latest version works quite fine on a
  different machine.
 
  It must be something in the registry of that machine. But I want this
  fixed rather than having to reinstall everything on that machine.
 
 
 
  In the log file it looks like this for all components:
 
 
 
  MSI (s) (AC:50) [06:55:07:509]: Component:
  cmp3DF3B0032BBE812DD63BFBFDDAD8EADB; Installed: Absent;   Request:
 Null;
  Action: Null
 
 
 
  In the registry
 
  (SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-
 .\Comp
  onents
  \014D60A4873EBBD50B5B2170FAD4ABCC) There were originally two entries
  to each file. One was removed on uninstallation, one retained. So I
  wrote a powershell script to remove all these extra values. Now there
  is only one that is created during installation, but still it is not
  removed on uninstall.
 
 
 
  Has anyone any experience with that?
 
 
 
  Thanks, Thorsten
 
 
  --
   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
 
 
 
 
 --
 virtually, Rob Mensching - http://RobMensching.com LLC
 
 --
 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

[WiX-users] Uninstallation removes nothing

2011-01-21 Thread Thorsten Tarrach
Hello,

 

I played around with Major Updates and somehow I got into a situation now
where none of the files is removed by uninstallation. It is not an error
with the package, as the latest version works quite fine on a different
machine.

It must be something in the registry of that machine. But I want this fixed
rather than having to reinstall everything on that machine.

 

In the log file it looks like this for all components:

 

MSI (s) (AC:50) [06:55:07:509]: Component:
cmp3DF3B0032BBE812DD63BFBFDDAD8EADB; Installed: Absent;   Request: Null;
Action: Null

 

In the registry
(SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-.\Components
\014D60A4873EBBD50B5B2170FAD4ABCC) There were originally two entries to each
file. One was removed on uninstallation, one retained. So I wrote a
powershell script to remove all these extra values. Now there is only one
that is created during installation, but still it is not removed on
uninstall.

 

Has anyone any experience with that?

 

Thanks, Thorsten 

--
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] Display dialog despite LIMITUI

2010-12-21 Thread Thorsten Tarrach
Hi,

 

I generally want the installation to be silent or with the basic UI, except
that it should ask the user for a password if that is not specified.

 

So I basically want to display one dialog no matter that LIMITUI is set or
that /quiet is specified. How can I force a dialog to open anyway, depending
on some conditions.

 

Thanks,

Thorsten

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Display dialog despite LIMITUI

2010-12-21 Thread Thorsten Tarrach
That is a good idea. The problem is that the property still appears in the
Log if I set it on the command line. Here is how I declared it in WiX:

Property Id=TEST Hidden=yes/Property

Here is how I set it:

msiexec /i TestProject1.msi /l* log.txt TEST=abc

And this is in the log file:

Property(S): TEST = abc

Thorsten

 -Original Message-
 From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
 Sent: 21 December 2010 16:08
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Display dialog despite LIMITUI
 
 You can't. Instead, define a hidden, public property for the password and
add
 a launch condition that aborts the installation if the property isn't
defined.
 
 For the instances where LIMITUI and /quiet aren't specified, you can add
the
 dialog in the UISequence as normal.
 
 
 -Original Message-
 From: Thorsten Tarrach [mailto:thors...@atomia.com]
 Sent: 21 December 2010 14:53
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: [WiX-users] Display dialog despite LIMITUI
 
 Hi,
 
 
 
 I generally want the installation to be silent or with the basic UI,
except that it
 should ask the user for a password if that is not specified.
 
 
 
 So I basically want to display one dialog no matter that LIMITUI is set or
that
 /quiet is specified. How can I force a dialog to open anyway, depending on
 some conditions.
 
 
 
 Thanks,
 
 Thorsten
 
 
 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how to connect the dots, take
 your collaborative environment to the next level, and enter the era of
Social
 Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 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.
 
 


--
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how to connect the dots, take
 your collaborative environment to the next level, and enter the era of
Social
 Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Checking prerequisits like AppPool

2010-12-09 Thread Thorsten Tarrach
Hi,

 

The IIS schema allows me to install a new website and reference an existing
application pool the user specifies. But I want the setup to fail with a
meaningful error message if that app pool does not exist. Similarly I
require a specific user to be present. I'm not sure what condition to use to
check if these elements exist.

 

If you are wondering why my installer does not create such prerequisites,
the reason is that the setup is part of a much larger system.

 

Thanks, Thorsten

--
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Having a reference counter for components

2010-12-03 Thread Thorsten Tarrach
Hey,

Thanks for your answers. I will just post the WiX Code of the merge module.
Maybe that can cast some light on this:

?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;
xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
Module Id=AppPoolModule Language=1033 Version=1.0.0.0
Package Id=6561cbee-3012-44c3-a446-07d573da993c
Manufacturer=abc InstallerVersion=200 /

util:Group Id=UsersGroup Name=Users/

Directory Id=TARGETDIR Name=SourceDir
Directory Id=MergeRedirectFolder

Component Shared=yes Id=CNewUser
Guid=32892BF9-F947-476A-9832-042EA96E65BC
  CreateFolder/
  util:User Id=NewUser Name=AppPoolUser Password=test123T
UpdateIfExists=no PasswordNeverExpires=yes CanNotChangePassword=yes
util:GroupRef Id=UsersGroup/
  /util:User
/Component

Component Shared=yes Id=CAppPool
Guid=5D0736E5-3A31-4289-9F0A-CA8C56EFF51E
  CreateFolder/
  iis:WebAppPool Id=AppPool ManagedRuntimeVersion=v2.0
Name=Atomia Integrated ManagedPipelineMode=integrated Identity=other
User=NewUser/
/Component

/Directory
/Directory
/Module
/Wix


 -Original Message-
 From: Wilson, Phil [mailto:phil.wil...@invensys.com]
 Sent: 02 December 2010 20:06
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Having a reference counter for components
 
 It matters what the condition is on the custom action that deletes the app
 pool.
 
 Phil Wilson
 
 
 -Original Message-
 From: Chris Ridd [mailto:chrisr...@mac.com]
 Sent: Thursday, December 02, 2010 10:15 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Having a reference counter for components
 
 
 On 2 Dec 2010, at 17:35, Wilson, Phil wrote:
 
  Reference counting works on components, it really does work. I think
 you're saying that there's a custom action that runs when one product is
 uninstalled, even though others are using the pool. Is there a condition
 somewhere on the CA that uninstalls the app pool?
 
 Does it matter if the component has a non-versioned file as a keypath?
 
 Cheers,
 
 Chris
 


--
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-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
 http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80pr
 ev_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).
 
 
 


--
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.

Re: [WiX-users] Having a reference counter for components

2010-12-03 Thread Thorsten Tarrach
I managed to solve the problem. Even none of the components install any
files it is still important they install to the same folder. So the trick
is to replace the directory tree with this one:

Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder

Nevertheless, I appreciate any feedback more experienced users can give me
on this solution.

Thorsten

 -Original Message-
 From: Thorsten Tarrach [mailto:thors...@atomia.com]
 Sent: 03 December 2010 09:06
 To: 'General discussion for Windows Installer XML toolset.'
 Subject: RE: [WiX-users] Having a reference counter for components
 
 Hey,
 
 Thanks for your answers. I will just post the WiX Code of the merge
module.
 Maybe that can cast some light on this:
 
 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
 xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;
 xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
 Module Id=AppPoolModule Language=1033 Version=1.0.0.0
 Package Id=6561cbee-3012-44c3-a446-07d573da993c
 Manufacturer=abc InstallerVersion=200 /
 
 util:Group Id=UsersGroup Name=Users/
 
 Directory Id=TARGETDIR Name=SourceDir
 Directory Id=MergeRedirectFolder
 
 Component Shared=yes Id=CNewUser
 Guid=32892BF9-F947-476A-9832-042EA96E65BC
   CreateFolder/
   util:User Id=NewUser Name=AppPoolUser Password=test123T
 UpdateIfExists=no PasswordNeverExpires=yes
 CanNotChangePassword=yes
 util:GroupRef Id=UsersGroup/
   /util:User
 /Component
 
 Component Shared=yes Id=CAppPool
 Guid=5D0736E5-3A31-4289-9F0A-CA8C56EFF51E
   CreateFolder/
   iis:WebAppPool Id=AppPool ManagedRuntimeVersion=v2.0
 Name=Atomia Integrated ManagedPipelineMode=integrated
 Identity=other
 User=NewUser/
 /Component
 
 /Directory
 /Directory
 /Module
 /Wix
 
 
  -Original Message-
  From: Wilson, Phil [mailto:phil.wil...@invensys.com]
  Sent: 02 December 2010 20:06
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Having a reference counter for components
 
  It matters what the condition is on the custom action that deletes the
  app pool.
 
  Phil Wilson
 
 
  -Original Message-
  From: Chris Ridd [mailto:chrisr...@mac.com]
  Sent: Thursday, December 02, 2010 10:15 AM
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Having a reference counter for components
 
 
  On 2 Dec 2010, at 17:35, Wilson, Phil wrote:
 
   Reference counting works on components, it really does work. I think
  you're saying that there's a custom action that runs when one product
  is uninstalled, even though others are using the pool. Is there a
  condition somewhere on the CA that uninstalls the app pool?
 
  Does it matter if the component has a non-versioned file as a keypath?
 
  Cheers,
 
  Chris
 
 


 --
  Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
  Tap into the largest installed PC base  get more eyes on your game by
  optimizing for Intel(R) Graphics Technology. Get started today with
  the
  Intel(R) Software Partner Program. Five $500 cash prizes are up for
grabs.
  http://p.sf.net/sfu/intelisp-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
 
 http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80pr
  ev_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).
 
 
 
 


 --
  Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
  Tap into the largest installed PC base  get more eyes

[WiX-users] Having a reference counter for components

2010-12-02 Thread Thorsten Tarrach
Hi everyone,

 

I tried to create a shared merge module that creates a user and an
application pool in IIS. The idea is that we have a number of installation
packages that all share the same application pool and user. The first
installed application creates the application pool and the last one deletes
it.

 

I was hoping that the merge module would allow us to track the reference
count of the components because they have the same guid in each package. But
what happens is that the first application that is uninstalled also deletes
the application pool. So except for a custom solution the only way seems to
mark the component as permanent so that it is never uninstalled.

 

Is there any way to enable windows installer to take care of when a
component needs to be uninstalled?

 

Thanks, Thorsten

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Save information during install for the uninstaller custom action

2009-08-27 Thread Thorsten Tarrach
Hi,

to make the uninstall as perfect as possible I would like to save some 
information for the uninstaller custom action.

Say if my installer custom action changes a setting then I would like the 
uninstaller to undo that. The problem I face at the moment is that I can 
only revert the setting to its default. If some user already set the setting 
to a different value I cannot revert to that value.

I know that it can be done: The SQL extension for example can drop the table 
on uninstall, so it must remember the sql connection parameters. But how is 
that done?

Thanks,
Thorsten



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