Forum Discussion

Oferv's avatar
Oferv
Super Contributor
14 years ago

when trying to run.exe file i'm getting windows installer window

why do i get this window?

see attached

3 Replies

  • spatel_1's avatar
    spatel_1
    Occasional Contributor
    I believe that happens when you input an incorrect command line parameter.  
  • Anonymous's avatar
    Anonymous

    Hi Ofer,



    Probably, Stephen is right that you have inputted an incorrect command line parameter.  



    I suspect that you get this message as the path to your msi file is specified in an incorrect way. Please pay attention to the fact that all the files specified to be opened in the command line must be referenced using the full path to the file. If the file path contains spaces, it should be enclosed in quotes "". Look at the example:





    //...

    var MSIpath = "C:\\Users\\Ofer Vil\\App.msi";

    //...

    TestedApps.Add("msiexec.exe /i" + ' "' + MSIpath + '" ');





    If this does not help, please post here the problematic code.