Bugs item #1879958, was opened at 2008-01-25 12:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1879958&group_id=105970
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: light
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Luke Bakken (lb008d)
Assigned to: Nobody/Anonymous (nobody)
Summary: wixpdb creation causes System.UnauthorizedAccessException
Initial Comment:
If -pdbout is not specified on the command line, the following code in
Binder.cs will attempt to create the wixpdb at the root of the current drive,
causing an UnauthorizedAccessException for users who don't run as admin:
1314 // Output the output to a file
1315 if (null != this.pdbFile)
1316 {
1317 Pdb pdb = new Pdb(null);
1318 pdb.Output = output;
1319 pdb.Save(this.pdbFile, null, this.wixVariableResolver,
this.TempFilesLocation);
1320 }
Attached is a fix that creates the wixpdb in the temp location and then copies
it to the same location as the generated .msi, much in the same way as the code
directly above it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1879958&group_id=105970
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs