[WiX-users] How do I include MapXtreme MSM with Wix

2014-11-16 Thread jason.smallman
Hi, I am trying to create a Wix installer project for my MapXtreme .Net based desktop application. As part of this installer, I am trying to include MapXtreme MSM's but I get a range of build errors depending on which MSM's I include. Some of these errors imply that I cannot install some MSM's

[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 jason.smallman
My entry looks like this 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. Su

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

2014-11-18 Thread jason.smallman
Oh, here it is 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

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

2014-11-18 Thread jason.smallman
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

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

2014-11-18 Thread jason.smallman
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 [ma

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

2014-11-18 Thread jason.smallman
What is the best combination of Execute="" and CustomAction to allow me to alter a file 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] Can I pass the installation location to a custom action?

2014-11-18 Thread jason.smallman
Hi, I have a custom action that changes a file once it is installed. In my custom action, I use a hard-coded path but I don't want to do that. The folder of the installed application is not configurable by the user - it is just the Manufacturer element. Can I get this sort of information passe

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 a

Re: [WiX-users] Can I pass the installation location to a custom action?

2014-11-18 Thread jason.smallman
Thanks. I will do that. -Original Message- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent: 18 November 2014 19:10 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Can I pass the installation location to a custom action? ...and the condition might be Not Ins

[WiX-users] Installation permissions - Windows won't let the installer create a file

2014-11-18 Thread jason.smallman
Hi, In my installer and in a previous thread, I change a file in my application folder. However, the permissions on the test PC allow the installer to create the folder, copy the files, change registry settings but don't allow it to overwrite a file. All these actions are being done as part of

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

2014-11-19 Thread jason.smallman
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 write it back to its folder in Program Files. Any idea

[WiX-users] How do I rollback a file change custom action

2014-11-19 Thread jason.smallman
After a lot of advice from this group, I implemented some functionality where I encrpyt part of a file that is installed. I do this with a deferred custom action. Now it won't uninstall. If I remove the custom action then it uninstalls. How do I rollback this action? If a full rollback will rem

[WiX-users] How do I rollback a file change custom action

2014-11-19 Thread jason.smallman
After a lot of advice from this group, I implemented some functionality where I encrpyt part of a file that is installed. I do this with a deferred custom action. Now it won't uninstall. If I remove the custom action then it uninstalls. How do I rollback this action? If a full rollback will re

Re: [WiX-users] How do I rollback a file change custom action

2014-11-19 Thread jason.smallman
A !*$@ You are right. From: David Fritch [dfri...@ldschurch.org] Sent: 19 November 2014 17:42 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How do I rollback a file change custom action I think you may have replied to the wrong e-ma