|
1 | 1 | # OpenWithEx |
2 | | -This application is a replacement for OpenWith.exe meant to replicate the Open With dialog from Windows XP, |
3 | | -Vista and 7. |
| 2 | +OpenWithEx is an application meant to replicate the classic Open With dialog with styles |
| 3 | +ranging from Windows 95 to Windows 7. |
4 | 4 |
|
5 | | -**Windows XP design**: |
6 | | - |
7 | | - |
| 5 | +## Compilation |
8 | 6 |
|
9 | | -**Windows Vista/7 design**: |
| 7 | +### Building the application |
| 8 | +**Needed**: |
| 9 | +- Visual Studio 2022 with C++ desktop development workload |
10 | 10 |
|
11 | | - |
| 11 | +To build OpenWithEx and its configurator, simply open OpenWithEx.sln and build the projects in the configurations you want. |
| 12 | +If you want to build the installer, you must build the following projects and configurations: |
12 | 13 |
|
13 | | -## Installation |
14 | | -**NOTE: This software is in early development and you should not use it on a daily basis over the regular |
15 | | -open with dialog. This is for testing only.** |
| 14 | +- OpenWithEx, Release x64 |
| 15 | +- OpenWithEx, Release x86 |
| 16 | +- OpenWithExConfig, Release x64 |
16 | 17 |
|
17 | | -1. Make sure you have already built OpenWithEx. |
18 | | -2. Open the Registry Editor. |
19 | | -3. Navigate to `HKEY_CLASSES_ROOT\CLSID\{e44e9428-bdbc-4987-a099-40dc8fd255e7}\LocalServer32`. |
20 | | -4. Right click it, and click "Permissions". |
21 | | -5. Click "Advanced". |
22 | | -6. Click "Change" next to the current owner. |
23 | | -7. Type your username, and click OK until you're back to the main Permissions dialog. |
24 | | -8. Click "Add...". |
25 | | -9. Type your username, and click OK. |
26 | | -10. Check the "Full Control" permission, and click OK. |
27 | | -11. Change the (Default) value (which should be `%SystemRoot%\System32\OpenWith.exe`) to the path of OpenWithEx's executable. |
| 18 | +### Building the installer |
| 19 | +**Needed**: |
| 20 | +- Nullsoft Installer System |
| 21 | +- [AccessControl plugin for NSIS](https://nsis.sourceforge.io/AccessControl_plug-in) |
28 | 22 |
|
29 | | -## Compilation |
| 23 | +**NOTE**: After copying the files for AccessControl into your NSIS installation, you need to go into your NSIS plugins directory (typically located at `C:\Program Files (x86)\NSIS\Plugins`) and copy the AccessControl.dll files from `i386-ansi` and `i386-unicode` to `x86-ansi` and `x86-unicode`. I'm not sure why this distinction is made, but not having the files in the x86 folder breaks compilation. |
30 | 24 |
|
31 | | -Simply open `OpenWithEx.sln` in Visual Studio 2022 and compile the whole solution. If you want the Windows XP design, uncomment |
32 | | -the line in `OpenWithEx/openwithex.h` that says `#define XP` and rebuild the whole solution. |
| 25 | +Run the script at `installer\build_installer.cmd`. |
0 commit comments