[WiX-users] 3 digit bundle version number

2014-11-26 Thread Jan Suchotzki
Hi, I know this topic has beend addressed in many different flavors already, but none seems to solve my issue. I would like to have the bundle version set to the version number of a package. This is obviously easy, but I need to change the version number format. We like to have a 3 digit

Re: [WiX-users] 3 digit bundle version number

2014-11-26 Thread Brian Enderle
The link you referenced shows a relative path to the dll, have you tried using $(SoluitonDir) instead? I don't use Team Build so I don't know if this would solve your problem. Target Name=BeforeBuild GetAssemblyIdentity

Re: [WiX-users] No progress in installation

2014-11-26 Thread Karthik
Hi All, Can anyone please update on this for the Sivaguru reply? Regards, Vadivel - Thanks in advance Karthik -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/No-progress-in-installation-tp7596525p7598256.html Sent from the wix-users

[WiX-users] Can't modify file on network path

2014-11-26 Thread Marco Tognacci
I need to modify a file on network folder \\myfolder\myfile.xml I have user XmlFile but it report an error because it use the cpp call to CreateFile but not call WNetAddConnection2 and this would create the network connection. I have tried to do this on a c# custom action but I have error when

[WiX-users] Running a registered COM+ application as NT service

2014-11-26 Thread ssmsam
Hi , I am registering a native COM+ assembly using WiX. I opnened the properties of registerd com+ and found that , the check box under Activation tab was checked. Could anyone let me know is there any way/extensions exists in wix to achieve this? Thanks and Regards, Sampat -- View this

[WiX-users] UNC path can't modify a file

2014-11-26 Thread Marco Tognacci
I need to modify an xml file located uding UNC path on the network. I tried XmlFile but it report an error failed to open the file. IS there any way For doing this? I could use a custom action but I have the same problem accessing the file. I need to map the UNC path to a local folder? How to do

Re: [WiX-users] XmlFile fail to write on network folder file

2014-11-26 Thread roberthyang
In order to do this you need to run as a user identity that has network privileges and access to the network location you need to access. If you have Impersonate=no and Execute=deferred in your custom action, then you will be running as LocalSystem, which does not have network privileges.

[WiX-users] Need to support Downgrade installs

2014-11-26 Thread Rich Fowler
I need to allow Downgrading installations. This is for an internal application where a user may need to install version N over version N+1. Yes, I know this is frowned upon, but management insists. We need to make it seamless to our users. Forcing the user to first uninstall is not an option.

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread John Cooper
You need to change your MajorUpgrade@Schedule attribute to something like afterInstallInitialize. This will ensure that the previous version is removed before the downgrade version is installed. A downgrade like this won't allow you an overlapped upgrade. -- John Merryweather Cooper Senior

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread Joel Budreau
Hey Rich, If you make your installers set REINSTALLMODE=amus files will be overwritten regardless of their version. This would let you run upgrades and downgrades where whomever comes last wins. http://msdn.microsoft.com/en-us/library/aa371182%28v=vs.85%29.aspx - Joel On Nov 26, 2014, at

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread Joel Budreau
I don’t believe that this approach will actually work. The MSI components are evaluated during (before?) the CostFinalize action, so by the time InstallInitialize runs, the new MSI has already made up it’s mind about what components are going to be installed/ignored. This is fine if you always

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread Rich Fowler
Thank You for the quick reply! Iv'e tried countless variations, and have just tried your suggestion with no success. You mentioned Overlapped Upgrade - I've not seen this term while searching. I will pursue it and see what happens. Again, Thank You On Wed, Nov 26, 2014 at 1:10 PM, John Cooper

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread Rich Fowler
Hi John, Thanks so much for the quick response. I've seen some comments before about REINSTALLMODE-amus, but there were serveral cautions around it. In particular, my real install also includes a few redistributables (msm files). Guess it it time to research amus further. Again, Thank You On

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread David Connet
Another approach would be to just throw up your hands and say I can't upgrade from that. Force the users to uninstall before your install. Then the old version is removed. And the new one comes in cleanly. Assuming the old one uninstalls cleanly! Very user-hostile however... Dave On

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread Rich Fowler
I would love to force the user to do the uninstall. But requirements dictate otherwise. I am pursuing the suggestion to set the REINSTALLMODE property -- AND see if I can remove the Redist MSMs from my install. After all, this is strictly for in-house use. Thanks for replying! Rich On Wed,

Re: [WiX-users] XmlFile fail to write on network folder file

2014-11-26 Thread Marco Tognacci
I have tried to create a custom action with Impersonate=yes and Execute=Immediately but even with this I can't access the file inside the Custom Action. Is there any way to make the XmlFile element working for modify the xml file located on the network folder?The user have the access to the

Re: [WiX-users] Force overwrite DLL with previous version inMajorUpgrade?

2014-11-26 Thread Phil Wilson
It's an anomaly or the same bug in non SxS situations. It's not an installer limitation because an REP early in the install will remove the older product before the new one regardless of versions. You haven't posted your upgrade or majorupgrade WiX source, so it's worth verifying that you are

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread Phil Wilson
You have a majorupgrade element as well as an upgrade element. I'm not sure why. A single majorupgrade element with AllowDowngrades=yes should suffice. You should also post the entire log. --- Phil Wilson On Wed, Nov 26, 2014 at 11:14 AM, Rich Fowler richwfow...@gmail.com wrote: I

Re: [WiX-users] UNC path can't modify a file

2014-11-26 Thread Phil Wilson
If this is a deferred CA in a per machine install the code will be running with the system account which usually has not network access privileges. What does mapping to a local folder mean? --- Phil Wilson On Wed, Nov 26, 2014 at 9:16 AM, Marco Tognacci mark...@live.it wrote: I

Re: [WiX-users] UNC path can't modify a file

2014-11-26 Thread Marco Tognacci
So what I need to do? How can I use a custom action to change the file on the network folder? I could use the PermissionEx to give the permission to the PersonalFolders? DirectoryRef Id=PersonalFolder Component Id=PersonalFolder_Permission Guid=* CreateFolder

Re: [WiX-users] Force overwrite DLL with previous version inMajorUpgrade?

2014-11-26 Thread Joel Budreau
Hey Phil, Can you tell me how it’s possible to schedule RemoveExistingProducts early enough to avoid versioning rules being applied? I’m under the impression that versioning rules are applied during CostFinalize, which has to come before InstallInitialize, which has to come before

[WiX-users] Help getting started with custom actions

2014-11-26 Thread Nicolás Alvarez
My installer was simple so far, with only files to install. It has come the time where I may need to introduce custom actions, to generate a plugin cache/index at install time. I'm switching between WiX documentation and MSDN and blog posts and feeling a bit lost about CAs. Background: The index