Menu

#1340 Readonly output file crashes IDE

v3.0
closed
candyc
votive (347)
2012-09-15
2008-09-18
No

I am currently using the 3.0.4513.0 build of WiX.

I have been using TFS to distribute the MSI's to our development team. Recently I changed the project properties of my WiX projects such that they output directly to the location within my workspace where the MSI's live so that my process changes from {build->checkout->copy output->check in} to {checkout->build->check in}

However, now if I forget to checkout the output before attempting a build, when the build process attempts to write to the read-only file a series of access-denied errors, HRESULTS, and a crash of the IDE occur (Using VS2008 SP1)

Discussion

  • Jason Ginchereau

    I can't reproduce any crash in this case. If I put a read-only attribute on the output MSI file and rebuild, the file gets replaced anyway. If I otherwise lock the file via permissions or other means, I get a normal build error saying the file cannot be accessed. I'm also using VS2008 SP1, so I don't know what else to try.

     
  • David Robinson

    David Robinson - 2008-10-10

    Based on your feedback I investigated further. It is not in fact the MSI being readonly that causes the problem but the .wixpdb file. I have been checking those in as well so that they are available for building patches later.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 21 days (the time period specified by
    the administrator of this Tracker).

     
MongoDB Logo MongoDB