Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-19 Thread jason.smallman
. Subject: Re: [WiX-users] why do I have to install twice to make things happen? The problem is that your CA is immediate. So when you run, the file hasn't been installed yet - they're installed during the deferred phase. Dave From: jason.small...@bt.com jason.small...@bt.com To: wix-users

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-19 Thread David Connet
On 11/19/2014 2:37 AM, jason.small...@bt.com wrote: I have looked more closely at the logs and if I try to open the file I want to change at the point Before=InstallFinalize, then the file does not exist. If I use After=InstallFinalize then I can open the file but I don't have permission to

[WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread jason.smallman
Hi, I have created a Wix installer with a custom action. However, I need to run the installer twice (without uninstalling inbetween) for the custom action to work. Any ideas why? I thought that I may have not properly uninstalled the application properly. I used the Control Panel. Is there a

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread Hoover, Jacob
have to install twice to make things happen? Hi, I have created a Wix installer with a custom action. However, I need to run the installer twice (without uninstalling inbetween) for the custom action to work. Any ideas why? I thought that I may have not properly uninstalled the application

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread jason.smallman
Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 18 November 2014 17:04 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] why do I have to install twice to make things happen? What's the condition on your custom action? What does the log file

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread Hoover, Jacob
: Tuesday, November 18, 2014 11:10 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] why do I have to install twice to make things happen? My entry looks like this CustomAction Id=ConfigureClientAction Return=check Execute=immediate BinaryKey=ConfigureClient

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread Rob Mensching
[mailto:jason.small...@bt.com] Sent: Tuesday, November 18, 2014 9:10 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] why do I have to install twice to make things happen? My entry looks like this CustomAction Id=ConfigureClientAction Return=check Execute=immediate

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread jason.smallman
: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 18 November 2014 17:19 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] why do I have to install twice to make things happen? That's the definition of the CA, but where is it scheduled? Judging from the name of the CA

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread jason.smallman
To: General discussion about the WiX toolset. Subject: RE: [WiX-users] why do I have to install twice to make things happen? Oh, here it is InstallExecuteSequence Custom Action=ConfigureClientAction Before=InstallFinalize / /InstallExecuteSequence Once I fix the problem, how

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread Hoover, Jacob
...@bt.com [mailto:jason.small...@bt.com] Sent: Tuesday, November 18, 2014 11:27 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] why do I have to install twice to make things happen? FYI - the custom action reads and modifies a configuration file that is supplied as part

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread jason.smallman
[mailto:jacob.hoo...@greenheck.com] Sent: 18 November 2014 17:33 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] why do I have to install twice to make things happen? If the uninstall has removed it's entry in ARP, you're as clean as clean gets. When developing CA's

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread David Connet
: [WiX-users] why do I have to install twice to make things happen? FYI - the custom action reads and modifies a configuration file that is supplied as part of the installation. So, all the custom action needs to run, is that file to have been put in the application folder. -Original

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread jason.smallman
: [WiX-users] why do I have to install twice to make things happen? The problem is that your CA is immediate. So when you run, the file hasn't been installed yet - they're installed during the deferred phase. Dave From: jason.small...@bt.com jason.small...@bt.com To: wix-users

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread Phil Wilson
after it has been placed in a folder? -Original Message- From: David Connet [mailto:d...@agilityrecordbook.com] Sent: 18 November 2014 18:09 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] why do I have to install twice to make things happen? The problem

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread Hoover, Jacob
to condition your deferred CA to only run when you want it to. -Original Message- From: jason.small...@bt.com [mailto:jason.small...@bt.com] Sent: Tuesday, November 18, 2014 12:20 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] why do I have to install twice to make things happen

Re: [WiX-users] why do I have to install twice to make things happen?

2014-11-18 Thread jason.smallman
Thanks - that information has resolved this problem. -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 18 November 2014 19:25 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] why do I have to install twice to make things happen? Use