Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Reuss, Matthias
Hi Pavan, As already stated by Matthew Bobowski, the documentation is somewhat misleading at this point. The condition for considering the file as modified user data is NOT modified date != Created date But it is Modified date > Created date Which means that the file has been modified after

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Pavan Konduru
Hi Phil, As per the flow chart in the link you provided, if the created and modified date are different, the file doesn't get replaced. Does the installer compare these dates? The instance where it did not get replaced: Date Created: 12/19/2014 Date modified: 12/22/2014 Instance where it got

Re: [WiX-users] Modifying new msi package prior to recache in a custom action

2015-05-05 Thread Matthew Bobowski
Edwin, No, you may use MsiOpenDatabase, but you need to be careful when and how you use it. For C++, try using PMSIHANDLE. Otherwise for C or other stdcall access, be sure to close the handle in your custom action with MsiCloseHandle. However, it might help to know what you're trying to accomp

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Matthew Bobowski
Pavan, I have run into this myself, and assuming it is not a user-modified file, it is usually caused by a 'patch' or previous install that was performed which did not use Windows Installer. You can also encounter this issue in the field when upgrading from a previous scripted setup which was u

[WiX-users] Modifying new msi package prior to recache in a custom action

2015-05-05 Thread Edwin Castro
I’m trying to recache one of a number of packages before RemoveExistingProducts. My custom action extracts the new package from the Binary table, then attempts to MsiOpenDatabase() to update the new package’s ProductCode and ProductVersion to avoid needing a new package for each instance we’re tryi

Re: [WiX-users] Issue with Visual Studio 2015 RC after installing 3.10.0.1519

2015-05-05 Thread John H Bergman (XPedient)
You can use DevEnv /safemode to start visualstudio up in safe mode to see what the issues could be, otherwise, you may need to repair; I have it installed and it appears to be ok here. -Original Message- From: gep13 [mailto:ge...@gep13.co.uk] Sent: Tuesday, May 5, 2015 2:22 PM To: wix-

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Pavan Konduru
So what is the best way to overwrite the files that I want? Using the "Remove File" element for each of those files? --Pavan -Original Message- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent: Tuesday, May 05, 2015 2:57 PM To: General discussion about the WiX toolset. Subject: Re:

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Phil Wilson
Correct, docs here: https://msdn.microsoft.com/en-us/library/aa370531(v=vs.85).aspx --- Phil Wilson On Tue, May 5, 2015 at 12:07 PM, Pavan Konduru wrote: > Thank you Phil for your response. > >From what I get you are saying: > --There is a file X on a system > --User

[WiX-users] Issue with Visual Studio 2015 RC after installing 3.10.0.1519

2015-05-05 Thread gep13
Hello, As per a Twitter discussion here: https://twitter.com/wixtoolset/status/595619461580881920 I recently installed 3.10.0.1519 in order to get Wix functionality within Visual Studio 2015 RC. After installing it though, I am now in a situation where Visual Studio no longer opens. I can see

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Pavan Konduru
Hi Rob, Yes, the date created and modified are different. --Pavan -Original Message- From: Rob Mensching [mailto:r...@firegiant.com] Sent: Tuesday, May 05, 2015 12:06 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] File not getting overwritten Created and modif

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Pavan Konduru
Thank you Phil for your response. >From what I get you are saying: --There is a file X on a system --User modifies it at some point in time --Installer checks that this file has been modified since being installed and does not overwrite it? --Pavan -Original Message--

Re: [WiX-users] No reboot for locked files during uninstallation.

2015-05-05 Thread Phil Wilson
Windows Installer goes to a lot of trouble to make sure that you can avoid a reboot at uninstall time by re-mapping in-use Dlls etc. In general, a running app can continue running after uninstall, and some cleanup will occur when the app shuts down, the rest after the next reboot. The point is that

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Phil Wilson
You might be misunderstanding "check for modified dates". The absolute values are irrelevant. There is no "later version" based on later dates. An unversioned file will not be overwritten if its modified date is different to its creation date, no matter what the values are. Windows Installer will s

Re: [WiX-users] ExecSecureObjects: Error 0x80070005 - failed to get security info for object

2015-05-05 Thread Rob Mensching
Hah, missed the network share thing. Doh! That's probably it. Machine will need access. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@g

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Rob Mensching
Created and modified time stamp on non-versioned file different? _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Sent: Tues

[WiX-users] File not getting overwritten

2015-05-05 Thread Pavan Konduru
Hi All, We have an installer that basically is trying to overwrite some files that is on the host system. The files that are being overwritten were not installed by the installer. When I run my installer, all these files get overwritten. On one particular machine, these files don't seem to be o

Re: [WiX-users] ExecSecureObjects: Error 0x80070005 - failed to get security info for object

2015-05-05 Thread Hoover, Jacob
Seems relevant http://stackoverflow.com/questions/28588729/wix-msi-fails-when-setting-permissions-on-network-path-utilpermissionex -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: Tuesday, May 05, 2015 12:32 PM To: General discussion about the WiX toolset.

Re: [WiX-users] ExecSecureObjects: Error 0x80070005 - failed to get security info for object

2015-05-05 Thread Hoover, Jacob
If it's accessing a network share, will the local system account have permissions to the file? -Original Message- From: Rob Mensching [mailto:r...@firegiant.com] Sent: Tuesday, May 05, 2015 11:20 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] ExecSecureObjects:

Re: [WiX-users] Fade out?

2015-05-05 Thread Hoover, Jacob
This forum is for Windows Installer XML (WiX) related questions. I suspect your intent was to contact the good folks here . -Original Message- From: Jason Ohler [mailto:jasonoh...@gmail.com] Sent: Tuesday, May 05, 2015 11:26 AM To: wix-users

[WiX-users] Fade out?

2015-05-05 Thread Jason Ohler
Hello. I want some text to appear, have it linger for a few seconds, and then have it disappear. There does not seem to be a way to do this with WIX tools at the moment, so I need some HMTL code or CSS code to do it. Does anyone have code that would do this? And can anyone tell me why, when I p

Re: [WiX-users] No reboot for locked files during uninstallation.

2015-05-05 Thread Rob Mensching
Why do you want to force a restart? Your application is safely gone. Those files will be cleaned up whenever the users chooses to restart again. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Origina

Re: [WiX-users] ExecSecureObjects: Error 0x80070005 - failed to get security info for object

2015-05-05 Thread Rob Mensching
ERROR_ACCESS_DENIED. Permissions are such that not even the Windows Installer can access the file. SYSTEM removed? _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: Mohamed Y

Re: [WiX-users] Looking for working HeatProject Example

2015-05-05 Thread Phill Hogland
For what it is worth, I would look at using the HarvestProjects Target rather than the Task. I have not harvested projects, but I do harvest directories. I started using a batch file, then the HeatDirectory Task, and now I use HarvestDirectory Target, as described here

[WiX-users] No reboot for locked files during uninstallation.

2015-05-05 Thread Akshat Goel
Hi, Our product installs DLLs as part of installation. Most of the DLLs are used by our application but couple of these are also used by other processes and applications. When we uninstall the product, our main application is closed and DLLs are freed. However, other processes may still be run

[WiX-users] Looking for working HeatProject Example

2015-05-05 Thread Martin Cornelius
I am using WiX (3.9R2) integrated in VS2013 to produce an Msi Installer for my VS solution. The solution comprises about 30 c# projects. I created a separate WiX project within the solution to produce the installer. To generate the .wxs files for all the other projects, i am using heat with harves