I intend to share a Visual C# application using a setup project in Visual Studio Community, however after several configuration fixes (application not finding a DLL, for instance), it has a strange behavior:
- When opened using the generated shortcut or when it is located in Program Files (x86), it won't start, even though it is running in the task manager.
- When opened using administrative rights, it opens flawlessly.
- When copied in another folder than Program Files (x86), it opens flawlessly also.
I use the Visual Studio Installer to create the setup project. The problem is not that the application doesn't start, obviously, it is that it needs special manipulations after setup to be run by the user, which is of course something I try to avoid when sharing a program with a community.
So, is there some special configuration to use when creating a project so that an application can be run by any user without any "tuning" after the installation process?
Thank you for your answers! :)
~Stéphane