When I compile a wxWidgets project which contains the word "Setup" I get a UAC message every time I want to run it.
Do you want to allow the following program from an unknown publisher to make changes to your computer?
My OS is Windows 7 32 bit. I'm running Code:Blocks 12.11 with wxWidgets is 2.9.4
I have tried all sorts of combinations, like TestSetup, Setup1 etc. What am I doing wrong? Must I embed a manifest, and if yes, how and where?
These are my current settings:
Settings->Compiler...->Search Directories->Compiler
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include
C:\Program Files\Microsoft Visual Studio 10.0\VC\include
Settings->Compiler...->Search Directories->Linker
C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib
C:\Program Files\Microsoft Visual Studio 10.0\VC\lib
Settings->Compiler...->Search Directories->Resource Compiler
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include
C:\Program Files\Microsoft Visual Studio 10.0\VC\include
These are my steps to produce the problem
1. Start codeblocks 12.11.
2. Click "Create a new project".
3. Double click "wxWidgets Project".
4. Select wxWidgets 2.9.x (SVN Version).
5. Click "Next".
6. Enter Project title: "TestSetup".
7. Click "Next".
8. Click "Next*.
9. Select "wxSmith" and "Dialog Based".
10. Click "Next".
11. Accept wxWidgets' location: as "$(#wx)".
12. Click "Next".
13. Compiler is "Microsoft Visual C++ 2010 and both "Release" and "Debug" boxes are checked.
14. Click "Next".
15. Only "Enable Unicode" is checked.
16. Click "Next".
17. On the messagebox, click "Yes" to continue with Multi-threaded Dynamic CRT mode.
18. Select wxHTML, wxJpeg and wxTiff.
19. Click "Finish".
20. Build and run the application with F9