Normally, I would use a VM but I thought - what could go wrong!

The file is in the MSI. There is no repair or upgrade for this application 
really - it is install then uninstall. A very small user group and I have some 
control over what they do.

-----Original Message-----
From: Hoover, Jacob [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 that modify machine state, I'd highly recommend using a VM 
for your testing.

Is this config file inside the MSI, or is it a companion file passed along with 
the MSI? If it's the latter and you can't do this work on first run of the 
application, I'd schedule the CA early and then use a semi-custom action to add 
a CopyFile record during installation. It gets more complex when you start 
thinking about repair/upgrade/uninstall scenarios.

-----Original Message-----
From: jason.small...@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 of the installation. So, all the custom action needs to run, 
is that file to have been put in the application folder.

-----Original Message-----
From: Smallman,AJ,Jason,JTA19 R
Sent: 18 November 2014 17:22
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 do I go back to a clean state in my system i.e. 
guarantee that the uninstall has worked?


-----Original Message-----
From: 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, it's modifying a payload the installer deploys.  Since your CA 
is modifying machine state, it should be a deferred CA and you should provide a 
rollback/uninstall CA as well. (That's more than likely the root of your 
problem, but until we can see your install execute sequence, it's just a hunch.)

To get verbose logs, use /l*v <path to log> when calling msiexec.  
Ex: msiexec /l*v %TEMP%\debug.log /I foo.msi

-----Original Message-----
From: jason.small...@bt.com [mailto:jason.small...@bt.com]
Sent: 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"
      DllEntry="EncryptConfigFile" />

The action does a ActionResult.Success 

I am no expert on Wix so I don't know how to find the log file!

-----Original 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 on the 
initial install look like? 

-----Original Message-----
From: jason.small...@bt.com [mailto:jason.small...@bt.com]
Sent: Tuesday, November 18, 2014 11:00 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] why do I 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 properly. I 
used the Control Panel. Is there a registry setting I can remove which will 
make my application be fully uninstalled from Windows.

Thanks
Jason

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! 
Instantly Supercharge Your Business Reports and Dashboards with Interactivity, 
Sharing, Native Excel Exports, App Integration & more Get technology previously 
reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! 
Instantly Supercharge Your Business Reports and Dashboards with Interactivity, 
Sharing, Native Excel Exports, App Integration & more Get technology previously 
reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! 
Instantly Supercharge Your Business Reports and Dashboards with Interactivity, 
Sharing, Native Excel Exports, App Integration & more Get technology previously 
reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! 
Instantly Supercharge Your Business Reports and Dashboards with Interactivity, 
Sharing, Native Excel Exports, App Integration & more Get technology previously 
reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! 
Instantly Supercharge Your Business Reports and Dashboards with Interactivity, 
Sharing, Native Excel Exports, App Integration & more Get technology previously 
reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! 
Instantly Supercharge Your Business Reports and Dashboards with Interactivity, 
Sharing, Native Excel Exports, App Integration & more Get technology previously 
reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to