Click here to Skip to main content
15,900,724 members
Home / Discussions / C#
   

C#

 
GeneralRe: Writing XML file from threads - Not URGENT - Pin
moums7-Mar-11 22:37
moums7-Mar-11 22:37 
GeneralRe: Writing XML file from threads - Not URGENT - Pin
Richard MacCutchan8-Mar-11 0:03
mveRichard MacCutchan8-Mar-11 0:03 
GeneralRe: Writing XML file from threads - Not URGENT - Pin
moums8-Mar-11 0:10
moums8-Mar-11 0:10 
AnswerRe: Writing XML file from threads - URGENT - Pin
J a a n s7-Mar-11 22:56
professionalJ a a n s7-Mar-11 22:56 
GeneralRe: Writing XML file from threads - URGENT - Pin
moums7-Mar-11 23:43
moums7-Mar-11 23:43 
AnswerRe: Writing XML file from threads - URGENT - Pin
_Erik_8-Mar-11 0:42
_Erik_8-Mar-11 0:42 
GeneralRe: Writing XML file from threads - URGENT - Pin
moums8-Mar-11 1:03
moums8-Mar-11 1:03 
QuestionHelp w/ Security Issue Win7 Pin
Jammer7-Mar-11 12:30
Jammer7-Mar-11 12:30 
Hi All,

I've got a strange issue that I need a little help with, I'm completely stumped at the moment.

There are functions in my application to allow users to select a file in the UI and then either open it in an editor application or open Windows Explorer with the file selected.

public void LoadFileInDefaultEditor(AppLaunchArgs args)
{
    var processStartInfo = new ProcessStartInfo(args.ApplicationExePath)
    {
        Arguments = "\"" + args.Path + "\"",
        WorkingDirectory = Path.GetDirectoryName(args.ApplicationExePath),
        Verb = OpenVerb
    };

    try
    {
        Process.Start(processStartInfo);
    }
    catch (Exception ex)
    {
        Log.Error("Failed to start " + args.ApplicationExePath, ex);
    }
}


This is all working as expected when I run in debug/release from within VS. If I copy the release build to any location on the machine and launch the app it also works as expected.

As soon as I build the installer and run the install (built using Inno Setup) and run the installed version these functions aren't working.

I have an older installer for the same application, if I install this one the functions work as expected this part of the source code hasn't been touched between these two different versions / installers. The Inno build script is also identical between the two installers.

Any pointers on this would be great, I'm really at a loss as to where to go from here.

Thanks in advance,

AnswerRe: Help w/ Security Issue Win7 Pin
Richard Andrew x647-Mar-11 12:50
professionalRichard Andrew x647-Mar-11 12:50 
GeneralRe: Help w/ Security Issue Win7 Pin
Jammer7-Mar-11 13:06
Jammer7-Mar-11 13:06 
GeneralRe: Help w/ Security Issue Win7 Pin
Richard Andrew x647-Mar-11 13:44
professionalRichard Andrew x647-Mar-11 13:44 
GeneralRe: Help w/ Security Issue Win7 Pin
Jammer7-Mar-11 23:09
Jammer7-Mar-11 23:09 
AnswerRe: Help w/ Security Issue Win7 Pin
GenJerDan7-Mar-11 17:22
GenJerDan7-Mar-11 17:22 
GeneralRe: Help w/ Security Issue Win7 Pin
Jammer7-Mar-11 23:16
Jammer7-Mar-11 23:16 
GeneralRe: Help w/ Security Issue Win7 Pin
GenJerDan8-Mar-11 4:03
GenJerDan8-Mar-11 4:03 
GeneralRe: Help w/ Security Issue Win7 Pin
GenJerDan8-Mar-11 4:12
GenJerDan8-Mar-11 4:12 
GeneralRe: Help w/ Security Issue Win7 Pin
Jammer8-Mar-11 7:27
Jammer8-Mar-11 7:27 
GeneralRe: Help w/ Security Issue Win7 Pin
Jammer8-Mar-11 8:27
Jammer8-Mar-11 8:27 
GeneralRe: Help w/ Security Issue Win7 Pin
GenJerDan8-Mar-11 17:16
GenJerDan8-Mar-11 17:16 
GeneralRe: Help w/ Security Issue Win7 [modified] Pin
Jammer8-Mar-11 21:45
Jammer8-Mar-11 21:45 
GeneralRe: Help w/ Security Issue Win7 Pin
GenJerDan9-Mar-11 0:19
GenJerDan9-Mar-11 0:19 
GeneralRe: Help w/ Security Issue Win7 Pin
Jammer9-Mar-11 0:54
Jammer9-Mar-11 0:54 
GeneralRe: Help w/ Security Issue Win7 Pin
Jammer8-Mar-11 21:47
Jammer8-Mar-11 21:47 
GeneralRe: Help w/ Security Issue Win7 Pin
GenJerDan9-Mar-11 0:05
GenJerDan9-Mar-11 0:05 
GeneralRe: Help w/ Security Issue Win7 Pin
Jammer9-Mar-11 3:16
Jammer9-Mar-11 3:16 

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.