C# WiX Installer - EXE is not running as app after install

I created an Install with WiX.  It creates the directory and copies the EXE and all the DLL's where I want it to.  However, when I run the applicatino.EXE it does not run as an APP.  Instead it runs as a background process.  If I copy the code from my .NET Bin directory to the location where the app is created the EXE runs just fine.

Anyone have any ideas?
LVL 1
CipherISAsked:
Who is Participating?
 
CipherISConnect With a Mentor Author Commented:
I figured out the issue.  Needed to set the appname.exe as "run as administrator".  Do you have any idea how to do that via Wix?
0
 
Vadim RappCommented:
How do you run it - by hand (or shortcut) ? or it's started by the installation in the end?
0
 
CipherISAuthor Commented:
I just double click on the exe.  It's not a shortcut.  I go to the program files where it is installed.  I took and ran heat and generated a wxs file to see if that would make a difference.  Still having the same problem.

This app has Infragistics and Crystal Reports.  It installs and uninstalls with no problem.

I wrote a small windows app and have no problems with that app.
0
 
Vadim RappConnect With a Mentor Commented:
Add manifest to your project (the C# one, not WiX), and specify requestedExecutionLevel.
0
 
CipherISAuthor Commented:
Setting exe as run administrator provided results i was looking for.
0
All Courses

From novice to tech pro — start learning today.