Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# MongoDB Guid Problem Pin
BillWoodruff31-Jan-19 12:26
professionalBillWoodruff31-Jan-19 12:26 
AnswerRe: C# MongoDB Guid Problem Pin
Richard Deeming1-Feb-19 1:12
mveRichard Deeming1-Feb-19 1:12 
QuestionExtracting string between quotes Pin
Priya Karthish31-Jan-19 0:08
Priya Karthish31-Jan-19 0:08 
AnswerRe: Extracting string between quotes Pin
lmoelleb31-Jan-19 0:23
lmoelleb31-Jan-19 0:23 
AnswerRe: Extracting string between quotes Pin
OriginalGriff31-Jan-19 0:53
mveOriginalGriff31-Jan-19 0:53 
JokeRe: Extracting string between quotes Pin
Richard Deeming1-Feb-19 1:08
mveRichard Deeming1-Feb-19 1:08 
AnswerRe: Extracting string between quotes Pin
AFell231-Jan-19 5:35
AFell231-Jan-19 5:35 
QuestionC# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx30-Jan-19 9:54
professionaljkirkerx30-Jan-19 9:54 
I began the process of pulling stuff out of the registry and put them in a file called appSettings.json.
I installed the file in the target directory using WIX, and can't write to the file. The file has Admin level permissions, when you right click the file it shows the Shield.

When developing, it wasn't an issue. I didn't notice till I started testing the release version actually installed.

I tried modifying the file in WIX, but it doesn't do anything. I read the documentation and I'll swear that the code below is valid.
<Component Id="appSettings.json" Guid="6637d445-883d-46d6-a8b6-ad01e5814e27" NeverOverwrite="yes" Permanent="yes">
      <File Id="appSettings.json" Name="appSettings.json" Source="$(var.AccountMate_TargetDir)appSettings.json" ReadOnly="no" >
        <util:PermissionEx ChangePermission="yes" User="Users" Write="yes" WriteAttributes="yes" WriteExtendedAttributes="yes"/>
      </File>

I'm wondering now if I should just move the file someplace else.
If it ain't broke don't fix it
Discover my world at jkirkerx.com

AnswerMy Bad! Pin
jkirkerx30-Jan-19 11:32
professionaljkirkerx30-Jan-19 11:32 
GeneralRe: My Bad! Pin
OriginalGriff30-Jan-19 21:20
mveOriginalGriff30-Jan-19 21:20 
GeneralRe: My Bad! Pin
jkirkerx1-Feb-19 7:45
professionaljkirkerx1-Feb-19 7:45 
AnswerRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 2:12
professionalEddy Vluggen1-Feb-19 2:12 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 7:48
professionaljkirkerx1-Feb-19 7:48 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 8:39
professionalEddy Vluggen1-Feb-19 8:39 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 8:44
professionaljkirkerx1-Feb-19 8:44 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 9:29
professionalEddy Vluggen1-Feb-19 9:29 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 9:39
professionaljkirkerx1-Feb-19 9:39 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 10:56
professionalEddy Vluggen1-Feb-19 10:56 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 11:15
professionaljkirkerx1-Feb-19 11:15 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 11:20
professionalEddy Vluggen1-Feb-19 11:20 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
jkirkerx1-Feb-19 11:28
professionaljkirkerx1-Feb-19 11:28 
GeneralRe: C# Winforms, Installation Folder Permission, parameter settings file is always admin read/write, user read only Pin
Eddy Vluggen1-Feb-19 11:47
professionalEddy Vluggen1-Feb-19 11:47 
QuestionPackage Installation Failure Pin
NalaBI29-Jan-19 22:45
NalaBI29-Jan-19 22:45 
AnswerRe: Package Installation Failure Pin
OriginalGriff29-Jan-19 23:32
mveOriginalGriff29-Jan-19 23:32 
GeneralRe: Package Installation Failure Pin
NalaBI30-Jan-19 2:38
NalaBI30-Jan-19 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.