Bugs item #1879958, was opened at 2008-01-25 12:04
Message generated for change (Settings changed) made by robmen
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: Heath Stewart (heaths)
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 the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to