?
Solved

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

Posted on 2016-08-31
5
Medium Priority
?
50 Views
Last Modified: 2016-09-07
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?
0
Comment
Question by:CipherIS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 41779056
How do you run it - by hand (or shortcut) ? or it's started by the installation in the end?
0
 
LVL 1

Author Comment

by:CipherIS
ID: 41780084
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
 
LVL 1

Accepted Solution

by:
CipherIS earned 0 total points
ID: 41780169
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
 
LVL 40

Assisted Solution

by:Vadim Rapp
Vadim Rapp earned 2000 total points
ID: 41780442
Add manifest to your project (the C# one, not WiX), and specify requestedExecutionLevel.
0
 
LVL 1

Author Closing Comment

by:CipherIS
ID: 41787487
Setting exe as run administrator provided results i was looking for.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question