I'm not familiar with this tool, but since it is generating binary executables my experience shows that when it works in debug mode but not production mode (segfaults, etc), it is due to the fact that debug mode pads arrays and such with extra memory. As a result, you might … Read More
Check your Active solution platform if it is compatible with your System type (e.g. 64-bit) Read More
Are you running VS as an administrator? Try turning off UAC (under user accounts) before running your program and see if it works. Read More
The following posts/articles may be of interest:
[How to force my .NET App to run as administrator on Windows 7?]( http://stackoverflow.com/questions/2818179/how-to-force-my-net-app-to-run-as-administrator-on-windows-7 )
[What Did My Manifest Do: A Referral Was Returned from the Server](http://blogs.microsoft.co.il/sasha/2010/09/02/what-did-my-manifest-do-a-referral-was-returned-from-the-server/) Read More
Here are some more that may be of interest:
[Inside Windows 7 User Account Control](http://www.tjscott.net/winsecurity/win7.uac.ross.pdf)
[Tools List for Understanding Windows Integrity Mechanism (WIM)](http://csi-windows.com/blog/all/27-csi-news-general/114-tools-list-for-understanding-windows-integrity-mechanism-wim)
[Windows Integrity Mechanism Design](http://msdn.microsoft.com/en-us/library/bb625963.aspx)
-User Interface Privilege Isolation (UIPI) and integrity
-UIAccess for UI automation applications
[Mandatory Integrity Control in Windows 7 | 8](http://www.thewindowsclub.com/mandatory-integrity-control) Read More
You can try adding an application manifest to your project (as in UAC Troubles above).
Click "Project" (in menu bar)
Select "Add New Item"
Select "Application Manifest File"
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
If that doesn't work, you may also look into … Read More
Try the publish way, because in this way you can add everything your program needs to operate to the installer, in these 2 buttons
![8943da1c1cad7e22c29ad3d27d185452](/attachments/large/4/8943da1c1cad7e22c29ad3d27d185452.jpg "8943da1c1cad7e22c29ad3d27d185452") Read More