openvpn-build
openvpn-build copied to clipboard
OpenVPN 2.5: How to add his own config file to the msi file
Hello guys,
I want to add my ovpn config file to the new 2.5 OpenVPN installer. Is there already any documentation on how I could test this?
I opened the msi file (here OpenVPN-2.5-20200304-amd64-signed.msi) with Microsoft Orca. I tried the following:
-
Add a row to
Component Table
. Component: config.my_config.ovpn ComponentId: {12CA....} Directory: CONFIG_DIR Attributes: 256 Condition: KeyPath: my_config.ovpn -
Add a row to
Feature Component Table
: Feature: OpenVPN.Service Component: my_config.ovpn -
Add a row to
File
: File: config.my_config.ovpn Component.config.my_config.ovpn FileName: my_config.ovpn|myconfig.ovp FileSize: 8192 Version: Language: Attributes: 512 Sequence: 41 -
Modify
LastSequence
to 41 at theMedia
table.
If I start the modified msi file I get a corruption error. Do you have any ideas about what I could forget?
Best regards Robert