Shotcut doesn't work but running the exe file works

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • innerperson
    New Member
    • Oct 2008
    • 1

    Shotcut doesn't work but running the exe file works

    Hello,


    I have a strange problem. I am on Vista Premium and installed a c# app I created. It creates a assembly at startup up using codedom.

    I get codedom errors when I run it throught the shortcut that was installed using InstallAware. When I run it by double clicking the exe file in the folder it runs with no problems.

    I do have the program set up with elevate admin rights via the app.manifest file.


    Is there some type of permission problem on Vista that is keeping it from working using the shortcut? Like I said it works fine when I run it from the exe folder.



    Thanks,




    Thomas
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    You can right-click on the shortcut and click "Run as Administrator" and see if that solves the problem. If it does, there is a setting in the shortcut's properties that will always run the shortcut as admin.

    Comment

    • joedeene
      Contributor
      • Jul 2008
      • 579

      #3
      Check the shortcut's target and see if it's leading to the exact location of the same .exe file that runs with no problem.

      joedeene

      Comment

      Working...