Testing MSI installations
Hi,
I have prepared binaries to test Windows MSI-based OpenVPN installations and upgrading at https://github.com/rozmansi/openvpn/releases.
I have tested them myself in various conditions to get started. However, I would kindly ask everybody to give it a test.
Focus on the latest v2.4.6m3, please.
In the absence of documentation (should follow early next year), here is some quick explanation:
- The MSI files are complete installers but they are architecture specific. They are intended for Group Policy deployment.
- The EXE installer is an all-in-one SFX with both MSI files and a simple bootstrapper to pick the right MSI according to the architecture detected at run-time. EXE installer is targeted for general audience. This one also logs the output of the installation to %TEMP%\OpenVPN-install.log. Just type the "%TEMP%\OpenVPN-install.log" in the Explorer's address bar, should you need to see what was happening under the hood.
- The setup should be able to upgrade NSIS OpenVPN 2.3.x and 2.4.x installations by installing over them. No need to uninstall first. Though, if you have any exotic Windows configuration available, do test a fresh install too.
Remember: Test it to fail!
Any feedback kindly appreciated.
Thank you in advance and best regards,
Simon
Hi,
Quoted 6 lines · Simon Rozman
Hi,
Remember: Test it to fail!
Any feedback kindly appreciated.
I just tested this on a "fresh" Win7 VM and it failed.
By "fresh" I mean this:
The Win7 VM is from:
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
Credit the find to:
https://easylinuxtipsproject.blogspot.com/p/virtualbox.html
The VM i used is IE11-Win7 x86
The error message reported is:
"There is a problem with this Windows Installer package. A DLL required for this installer to complete could not be run. Contact your support personnel or package vendor" [OK]
Followed by
"The installer failed, your system has not been changed yadda .."
I notice the error message says "could not be run" not "not found" Permissions ?
I logged in as local admin.
Openvpn 2.4.6 running from the GUI+interactive service at the time.
The %TEMP%/openvpn-install.log is:
=== Logging started: 20/12/2018 05:28:59 ===
Action 05:28:59: INSTALL.
Action start 05:28:59: INSTALL.
Action 05:28:59: SetDefaultUIFontVista.
Action start 05:28:59: SetDefaultUIFontVista.
Action ended 05:28:59: SetDefaultUIFontVista. Return value 1.
Action 05:28:59: SetDlgStrongFontVista.
Action start 05:28:59: SetDlgStrongFontVista.
Action ended 05:28:59: SetDlgStrongFontVista. Return value 1.
Action 05:28:59: SetDlgTitleFontVista.
Action start 05:28:59: SetDlgTitleFontVista.
Action ended 05:28:59: SetDlgTitleFontVista. Return value 1.
Action 05:28:59: PreparePage.
Action start 05:28:59: PreparePage.
Info 2898. For DefaultUIFontVista textstyle, the system created a 'Segoe UI' font, in 1 character set, of 20 pixels height. Info 2898. For DlgTitleFontVista textstyle, the system created a 'Segoe UI' font, in 1 character set, of 25 pixels height. Action 05:28:59: PreparePage. Dialog created
Action ended 05:28:59: PreparePage. Return value 1.
Action 05:28:59: FindRelatedProducts. Searching for related applications
Action start 05:28:59: FindRelatedProducts.
Action ended 05:28:59: FindRelatedProducts. Return value 1.
Action 05:28:59: FindTAPInterfaces. Searching for TAP interfaces
Action start 05:28:59: FindTAPInterfaces.
CustomAction FindTAPInterfaces returned actual error code 1154 (note this may not be 100% accurate if translation happened inside sandbox)
regards
richard
Quoted 67 lines · tincanteksup
Hi,
Quoted 6 lines · Simon Rozman
Hi,
Remember: Test it to fail!
Any feedback kindly appreciated.
I just tested this on a "fresh" Win7 VM and it failed.
By "fresh" I mean this:
The Win7 VM is from:
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/Credit the find to:
https://easylinuxtipsproject.blogspot.com/p/virtualbox.htmlThe VM i used is IE11-Win7 x86
The error message reported is:
"There is a problem with this Windows Installer package. A DLL required for this installer to complete could not be run. Contact your support personnel or package vendor" [OK]Followed by
"The installer failed, your system has not been changed yadda .."I notice the error message says "could not be run" not "not found" Permissions ?
I logged in as local admin.
Openvpn 2.4.6 running from the GUI+interactive service at the time.The %TEMP%/openvpn-install.log is:
=== Logging started: 20/12/2018 05:28:59 ===
Action 05:28:59: INSTALL.
Action start 05:28:59: INSTALL.
Action 05:28:59: SetDefaultUIFontVista.
Action start 05:28:59: SetDefaultUIFontVista.
Action ended 05:28:59: SetDefaultUIFontVista. Return value 1.
Action 05:28:59: SetDlgStrongFontVista.
Action start 05:28:59: SetDlgStrongFontVista.
Action ended 05:28:59: SetDlgStrongFontVista. Return value 1.
Action 05:28:59: SetDlgTitleFontVista.
Action start 05:28:59: SetDlgTitleFontVista.
Action ended 05:28:59: SetDlgTitleFontVista. Return value 1.
Action 05:28:59: PreparePage.
Action start 05:28:59: PreparePage.
Info 2898. For DefaultUIFontVista textstyle, the system created a 'Segoe UI' font, in 1 character set, of 20 pixels height. Info 2898. For DlgTitleFontVista textstyle, the system created a 'Segoe UI' font, in 1 character set, of 25 pixels height. Action 05:28:59: PreparePage. Dialog created
Action ended 05:28:59: PreparePage. Return value 1.
Action 05:28:59: FindRelatedProducts. Searching for related applications
Action start 05:28:59: FindRelatedProducts.
Action ended 05:28:59: FindRelatedProducts. Return value 1.
Action 05:28:59: FindTAPInterfaces. Searching for TAP interfaces
Action start 05:28:59: FindTAPInterfaces.
CustomAction FindTAPInterfaces returned actual error code 1154 (note this may not be 100% accurate if translation happened inside sandbox)
Quoted 2 lines
regards
richard
I should mention I tested the .exe installer.
Quoted 17 lines · tincanteksup
Quoted 14 lines · tincanteksup
Hi,
Quoted 6 lines · Simon Rozman
Hi,
Remember: Test it to fail!
Any feedback kindly appreciated.
I just tested this on a "fresh" Win7 VM and it failed.
By "fresh" I mean this:
Quoted 8 lines
Quoted 8 lines
The Win7 VM is from:
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/Credit the find to:
https://easylinuxtipsproject.blogspot.com/p/virtualbox.htmlThe VM i used is IE11-Win7 x86
This may be a false alarm because Windows has decided this VM needs "some" updates .. I'll update after the reboot dance. *yawn*
Quoted 26 lines · tincanteksup
Quoted 23 lines · tincanteksup
Quoted 20 lines · tincanteksup
Hi,
Quoted 6 lines · Simon Rozman
Hi,
Remember: Test it to fail!
Any feedback kindly appreciated.
I just tested this on a "fresh" Win7 VM and it failed.
By "fresh" I mean this:
The Win7 VM is from:
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/Credit the find to:
https://easylinuxtipsproject.blogspot.com/p/virtualbox.html
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
The VM i used is IE11-Win7 x86
This may be a false alarm because Windows has decided this VM needs "some" updates .. I'll update after the reboot dance. *yawn*
Some 5349 patches later .. the error message is still the same.
But the log has more data:
=== Logging started: 20/12/2018 06:16:38 ===
Action 06:16:38: INSTALL.
Action start 06:16:38: INSTALL.
Action 06:16:38: SetDefaultUIFontVista.
Action start 06:16:38: SetDefaultUIFontVista.
Action ended 06:16:38: SetDefaultUIFontVista. Return value 1.
Action 06:16:38: SetDlgStrongFontVista.
Action start 06:16:38: SetDlgStrongFontVista.
Action ended 06:16:38: SetDlgStrongFontVista. Return value 1.
Action 06:16:38: SetDlgTitleFontVista.
Action start 06:16:38: SetDlgTitleFontVista.
Action ended 06:16:38: SetDlgTitleFontVista. Return value 1.
Action 06:16:38: PreparePage.
Action start 06:16:38: PreparePage.
Info 2898. For DefaultUIFontVista textstyle, the system created a 'Segoe UI' font, in 1 character set, of 20 pixels height.
Info 2898. For DlgTitleFontVista textstyle, the system created a 'Segoe UI' font, in 1 character set, of 25 pixels height.
Action 06:16:38: PreparePage. Dialog created
Action ended 06:16:38: PreparePage. Return value 1.
Action 06:16:38: FindRelatedProducts. Searching for related applications
Action start 06:16:38: FindRelatedProducts.
Action ended 06:16:38: FindRelatedProducts. Return value 1.
Action 06:16:38: FindTAPInterfaces. Searching for TAP interfaces
Action start 06:16:38: FindTAPInterfaces.
CustomAction FindTAPInterfaces returned actual error code 1154 (note this may not be 100% accurate if translation happened inside sandbox)
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action FindTAPInterfaces, entry: FindTAPInterfaces, library: C:\Users\IEUser\AppData\Local\Temp\MSI9064.tmp
MSI (c) (B4:E4) [06:16:48:804]: Product: OpenVPN 2.4.6m3-I603 x86 -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action FindTAPInterfaces, entry: FindTAPInterfaces, library: C:\Users\IEUser\AppData\Local\Temp\MSI9064.tmp
Action ended 06:16:48: FindTAPInterfaces. Return value 3.
Action 06:16:48: FatalErrorPage.
Action start 06:16:48: FatalErrorPage.
Action 06:16:48: FatalErrorPage. Dialog created
Action ended 06:16:50: FatalErrorPage. Return value 2.
Action ended 06:16:50: INSTALL. Return value 3.
Property(C): InstallMode = Typical
Property(C): UpgradeCode = {1195A47B-A37A-4055-9D34-B7A691F7E97B}
Property(C): DesktopFolder = C:\Users\Public\Desktop\
Property(C): InstallModeRB = Change
Property(C): ErrorDialog = ErrorDialog
Property(C): LOGAPPEND = 0
Property(C): DISABLESAVEPWD = #0
Property(C): ADMINGROUP = OpenVPN Administrators
Property(C): PRIORITY = NORMAL_PRIORITY_CLASS
Property(C): DefaultUIFont = DefaultUIFontVista
Property(C): DlgStrongFont = {\DlgStrongFontVista}
Property(C): DlgTitleFont = {\DlgTitleFontVista}
Property(C): ProgramFilesFolder = C:\Program Files\
Property(C): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(C): SourceDir = C:\Users\IEUser\AppData\Local\Temp\7zS02ECCC21\
Property(C): VersionNT = 601
Property(C): ALLUSERS = 1
Property(C): ARPPRODUCTICON = openvpn.ico
Property(C): ARPURLINFOABOUT = https://openvpn.net/index.php/open-source/
Property(C): ARPURLUPDATEINFO = https://openvpn.net/index.php/open-source/downloads.html
Property(C): SimpleProductName = OpenVPN
Property(C): DisplayVersion = 2.4.6m3-I603
Property(C): MSICHECKCRCS = 1
Property(C): PROMPTROLLBACKCOST = P
Property(C): EDITOR = notepad.exe
Property(C): INSTALLLEVEL = 2
Property(C): Manufacturer = OpenVPN Technologies, Inc.
Property(C): ProductCode = {45521BD6-AC59-4050-A7A9-4B4EDDD3DC3D}
Property(C): ProductLanguage = 1033
Property(C): ProductName = OpenVPN 2.4.6m3-I603 x86
Property(C): ProductVersion = 2.4.603
Property(C): Setup = Setup
Property(C): ButtonTextInstall = &Install Now
Property(C): TitleCustomize = Custom Installation
Property(C): Progress1 = Installing
Property(C): Progress2 = Setup
Property(C): SecureCustomProperties = ACTIVETAPINTERFACES;DRIVERCERTIFICATION;NETFRAMEWORK40FULL;TAPINTERFACES;WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED
Property(C): MsiHiddenProperties = AddMachineCertificate;AddUserCertificate;DeleteMachineCertificate;DeleteUserCertificate;RollbackAddMachineCertificate;RollbackAddUserCertificate;RollbackDeleteMachineCertificate;RollbackDeleteUserCertificate Property(C): MsiLogFileLocation = C:\Users\IEUser\AppData\Local\Temp\OpenVPN-install.log
Property(C): PackageCode = {E27BDB21-564E-4BCA-82D4-F33A921B88CC}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:\Users\IEUser\AppData\Local\Temp\7zS02ECCC21
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 3764
Property(C): VersionDatabase = 400
Property(C): VersionMsi = 5.00
Property(C): WindowsBuild = 7601
Property(C): ServicePackLevel = 1
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 1
Property(C): WindowsFolder = C:\Windows\
Property(C): WindowsVolume = C:\
Property(C): SystemFolder = C:\Windows\system32\
Property(C): System16Folder = C:\Windows\system\
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:\Users\IEUser\AppData\Local\Temp\
Property(C): CommonFilesFolder = C:\Program Files\Common Files\
Property(C): AppDataFolder = C:\Users\IEUser\AppData\Roaming\
Property(C): FavoritesFolder = C:\Users\IEUser\Favorites\
Property(C): NetHoodFolder = C:\Users\IEUser\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(C): PersonalFolder = C:\Users\IEUser\Documents\
Property(C): PrintHoodFolder = C:\Users\IEUser\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(C): RecentFolder = C:\Users\IEUser\AppData\Roaming\Microsoft\Windows\Recent\
Property(C): SendToFolder = C:\Users\IEUser\AppData\Roaming\Microsoft\Windows\SendTo\
Property(C): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(C): CommonAppDataFolder = C:\ProgramData\
Property(C): LocalAppDataFolder = C:\Users\IEUser\AppData\Local\
Property(C): MyPicturesFolder = C:\Users\IEUser\Pictures\
Property(C): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(C): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(C): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(C): FontsFolder = C:\Windows\Fonts\
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): Intel = 6
Property(C): PhysicalMemory = 2048
Property(C): VirtualMemory = 3650
Property(C): AdminUser = 1
Property(C): MsiTrueAdminUser = 1
Property(C): LogonUser = IEUser
Property(C): UserSID = S-1-5-21-3583694148-1414552638-2922671848-1000
Property(C): UserLanguageID = 2057
Property(C): ComputerName = IEWIN7
Property(C): SystemLanguageID = 2057
Property(C): ScreenX = 1680
Property(C): ScreenY = 936
Property(C): CaptionHeight = 24
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 20
Property(C): TextInternalLeading = 4
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): Time = 06:16:50
Property(C): Date = 20/12/2018
Property(C): MsiNetAssemblySupport = 4.7.3062.0
Property(C): MsiWin32AssemblySupport = 6.1.7601.17514
Property(C): RedirectedDllSupport = 2
Property(C): MsiRunningElevated = 1
Property(C): Privileged = 1
Property(C): COMPANYNAME = Microsoft
Property(C): DATABASE = C:\Users\IEUser\AppData\Local\Temp\7zS02ECCC21\OpenVPN-2.4.6m3-I603-x86.msi
Property(C): OriginalDatabase = C:\Users\IEUser\AppData\Local\Temp\7zS02ECCC21\OpenVPN-2.4.6m3-I603-x86.msi
Property(C): SOURCEDIR = C:\Users\IEUser\AppData\Local\Temp\7zS02ECCC21\
Property(C): VersionHandler = 5.00
Property(C): UILevel = 5
Property(C): ACTION = INSTALL
Property(C): EXECUTEACTION = INSTALL
=== Logging stopped: 20/12/2018 06:16:50 ===
MSI (c) (B4:E4) [06:16:50:679]: Windows Installer installed the product. Product Name: OpenVPN 2.4.6m3-I603 x86. Product Version: 2.4.603. Product Language: 1033. Manufacturer: OpenVPN Technologies, Inc.. Installation success or error status: 1603.
Quoted 29 lines · tincanteksup
Quoted 26 lines · tincanteksup
Quoted 23 lines · tincanteksup
Quoted 20 lines · tincanteksup
Hi,
Quoted 6 lines · Simon Rozman
Hi,
Remember: Test it to fail!
Any feedback kindly appreciated.
I just tested this on a "fresh" Win7 VM and it failed.
By "fresh" I mean this:
The Win7 VM is from:
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/Credit the find to:
https://easylinuxtipsproject.blogspot.com/p/virtualbox.html
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
The VM i used is IE11-Win7 x86
This may be a false alarm because Windows has decided this VM needs "some" updates .. I'll update after the reboot dance. *yawn*
Even more updates later, the same "apparent" problem persists.
log:
=== Logging started: 20/12/2018 06:41:08 ===
Action 06:41:08: INSTALL.
Action start 06:41:08: INSTALL.
Action 06:41:08: SetDefaultUIFontVista.
Action start 06:41:08: SetDefaultUIFontVista.
Action ended 06:41:08: SetDefaultUIFontVista. Return value 1.
Action 06:41:08: SetDlgStrongFontVista.
Action start 06:41:08: SetDlgStrongFontVista.
Action ended 06:41:08: SetDlgStrongFontVista. Return value 1.
Action 06:41:08: SetDlgTitleFontVista.
Action start 06:41:08: SetDlgTitleFontVista.
Action ended 06:41:08: SetDlgTitleFontVista. Return value 1.
Action 06:41:08: PreparePage.
Action start 06:41:08: PreparePage.
Info 2898. For DefaultUIFontVista textstyle, the system created a 'Segoe UI' font, in 1 character set, of 20 pixels height.
Info 2898. For DlgTitleFontVista textstyle, the system created a 'Segoe UI' font, in 1 character set, of 25 pixels height.
Action 06:41:08: PreparePage. Dialog created
Action ended 06:41:08: PreparePage. Return value 1.
Action 06:41:08: FindRelatedProducts. Searching for related applications
Action start 06:41:08: FindRelatedProducts.
Action ended 06:41:08: FindRelatedProducts. Return value 1.
Action 06:41:08: FindTAPInterfaces. Searching for TAP interfaces
Action start 06:41:08: FindTAPInterfaces.
CustomAction FindTAPInterfaces returned actual error code 1154 (note this may not be 100% accurate if translation happened inside sandbox)
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action FindTAPInterfaces, entry: FindTAPInterfaces, library: C:\Users\IEUser\AppData\Local\Temp\MSIE9C3.tmp
MSI (c) (DC:E4) [06:41:16:156]: Product: OpenVPN 2.4.6m3-I603 x86 -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action FindTAPInterfaces, entry: FindTAPInterfaces, library: C:\Users\IEUser\AppData\Local\Temp\MSIE9C3.tmp
Action ended 06:41:16: FindTAPInterfaces. Return value 3.
Action 06:41:16: FatalErrorPage.
Action start 06:41:16: FatalErrorPage.
Action 06:41:16: FatalErrorPage. Dialog created
Action ended 06:41:18: FatalErrorPage. Return value 2.
Action ended 06:41:18: INSTALL. Return value 3.
Property(C): InstallMode = Typical
Property(C): UpgradeCode = {1195A47B-A37A-4055-9D34-B7A691F7E97B}
Property(C): DesktopFolder = C:\Users\Public\Desktop\
Property(C): InstallModeRB = Change
Property(C): ErrorDialog = ErrorDialog
Property(C): LOGAPPEND = 0
Property(C): DISABLESAVEPWD = #0
Property(C): ADMINGROUP = OpenVPN Administrators
Property(C): PRIORITY = NORMAL_PRIORITY_CLASS
Property(C): DefaultUIFont = DefaultUIFontVista
Property(C): DlgStrongFont = {\DlgStrongFontVista}
Property(C): DlgTitleFont = {\DlgTitleFontVista}
Property(C): ProgramFilesFolder = C:\Program Files\
Property(C): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(C): SourceDir = C:\Users\IEUser\AppData\Local\Temp\7zS87C46480\
Property(C): VersionNT = 601
Property(C): ALLUSERS = 1
Property(C): ARPPRODUCTICON = openvpn.ico
Property(C): ARPURLINFOABOUT = https://openvpn.net/index.php/open-source/
Property(C): ARPURLUPDATEINFO = https://openvpn.net/index.php/open-source/downloads.html
Property(C): SimpleProductName = OpenVPN
Property(C): DisplayVersion = 2.4.6m3-I603
Property(C): MSICHECKCRCS = 1
Property(C): PROMPTROLLBACKCOST = P
Property(C): EDITOR = notepad.exe
Property(C): INSTALLLEVEL = 2
Property(C): Manufacturer = OpenVPN Technologies, Inc.
Property(C): ProductCode = {45521BD6-AC59-4050-A7A9-4B4EDDD3DC3D}
Property(C): ProductLanguage = 1033
Property(C): ProductName = OpenVPN 2.4.6m3-I603 x86
Property(C): ProductVersion = 2.4.603
Property(C): Setup = Setup
Property(C): ButtonTextInstall = &Install Now
Property(C): TitleCustomize = Custom Installation
Property(C): Progress1 = Installing
Property(C): Progress2 = Setup
Property(C): SecureCustomProperties = ACTIVETAPINTERFACES;DRIVERCERTIFICATION;NETFRAMEWORK40FULL;TAPINTERFACES;WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED
Property(C): MsiHiddenProperties = AddMachineCertificate;AddUserCertificate;DeleteMachineCertificate;DeleteUserCertificate;RollbackAddMachineCertificate;RollbackAddUserCertificate;RollbackDeleteMachineCertificate;RollbackDeleteUserCertificate Property(C): MsiLogFileLocation = C:\Users\IEUser\AppData\Local\Temp\OpenVPN-install.log
Property(C): PackageCode = {E27BDB21-564E-4BCA-82D4-F33A921B88CC}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:\Users\IEUser\AppData\Local\Temp\7zS87C46480
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 3292
Property(C): VersionDatabase = 400
Property(C): VersionMsi = 5.00
Property(C): WindowsBuild = 7601
Property(C): ServicePackLevel = 1
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 1
Property(C): WindowsFolder = C:\Windows\
Property(C): WindowsVolume = C:\
Property(C): SystemFolder = C:\Windows\system32\
Property(C): System16Folder = C:\Windows\system\
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:\Users\IEUser\AppData\Local\Temp\
Property(C): CommonFilesFolder = C:\Program Files\Common Files\
Property(C): AppDataFolder = C:\Users\IEUser\AppData\Roaming\
Property(C): FavoritesFolder = C:\Users\IEUser\Favorites\
Property(C): NetHoodFolder = C:\Users\IEUser\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(C): PersonalFolder = C:\Users\IEUser\Documents\
Property(C): PrintHoodFolder = C:\Users\IEUser\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(C): RecentFolder = C:\Users\IEUser\AppData\Roaming\Microsoft\Windows\Recent\
Property(C): SendToFolder = C:\Users\IEUser\AppData\Roaming\Microsoft\Windows\SendTo\
Property(C): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(C): CommonAppDataFolder = C:\ProgramData\
Property(C): LocalAppDataFolder = C:\Users\IEUser\AppData\Local\
Property(C): MyPicturesFolder = C:\Users\IEUser\Pictures\
Property(C): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(C): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(C): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(C): FontsFolder = C:\Windows\Fonts\
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): Intel = 6
Property(C): PhysicalMemory = 2048
Property(C): VirtualMemory = 3696
Property(C): AdminUser = 1
Property(C): MsiTrueAdminUser = 1
Property(C): LogonUser = IEUser
Property(C): UserSID = S-1-5-21-3583694148-1414552638-2922671848-1000
Property(C): UserLanguageID = 2057
Property(C): ComputerName = IEWIN7
Property(C): SystemLanguageID = 2057
Property(C): ScreenX = 1680
Property(C): ScreenY = 936
Property(C): CaptionHeight = 24
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 20
Property(C): TextInternalLeading = 4
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): Time = 06:41:18
Property(C): Date = 20/12/2018
Property(C): MsiNetAssemblySupport = 4.7.3062.0
Property(C): MsiWin32AssemblySupport = 6.1.7601.17514
Property(C): RedirectedDllSupport = 2
Property(C): MsiRunningElevated = 1
Property(C): Privileged = 1
Property(C): COMPANYNAME = Microsoft
Property(C): DATABASE = C:\Users\IEUser\AppData\Local\Temp\7zS87C46480\OpenVPN-2.4.6m3-I603-x86.msi
Property(C): OriginalDatabase = C:\Users\IEUser\AppData\Local\Temp\7zS87C46480\OpenVPN-2.4.6m3-I603-x86.msi
Property(C): SOURCEDIR = C:\Users\IEUser\AppData\Local\Temp\7zS87C46480\
Property(C): VersionHandler = 5.00
Property(C): UILevel = 5
Property(C): ACTION = INSTALL
Property(C): EXECUTEACTION = INSTALL
=== Logging stopped: 20/12/2018 06:41:18 ===
MSI (c) (DC:E4) [06:41:18:218]: Windows Installer installed the product. Product Name: OpenVPN 2.4.6m3-I603 x86. Product Version: 2.4.603. Product Language: 1033. Manufacturer: OpenVPN Technologies, Inc.. Installation success or error status: 1603.
Hi,
Quoted 16 lines
Action 06:41:08: FindTAPInterfaces. Searching for TAP interfaces Action start 06:41:08: FindTAPInterfaces.
CustomAction FindTAPInterfaces returned actual error code 1154 (note this may not be 100% accurate if translation happened inside sandbox) Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action FindTAPInterfaces, entry:
FindTAPInterfaces, library:
C:\Users\IEUser\AppData\Local\Temp\MSIE9C3.tmp
MSI (c) (DC:E4) [06:41:16:156]: Product: OpenVPN 2.4.6m3-I603 x86 -- Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action FindTAPInterfaces, entry:
FindTAPInterfaces, library:
C:\Users\IEUser\AppData\Local\Temp\MSIE9C3.tmp
Quoted 1 line
Action ended 06:41:16: FindTAPInterfaces. Return value 3.
The "Error 1723" translates to RPC_S_SERVER_TOO_BUSY. So, this is something new.
I'll try to reproduce it.
Regards,
Simon
Hi,
Quoted 2 lines
This may be a false alarm because Windows has decided this VM needs "some" updates .. I'll update after the reboot dance. *yawn*
Actually, setup should work with a vanilla non-updated Windows 7 too. Though we should encourage our users to run up-to-date Windows.
Thank you very much for your report. I am downloading the IE11-Win7 image as we speak and will test _before_ and _after_ the updates.
Regards,
Simon
Hi,
I have found and fixed the issue with the installer: all 32-bit MSI packages were affected - didn't notice it myself as all my testing machines turned out to be 64-bit :(. New version of the installer is available at https://github.com/rozmansi/openvpn/releases.
Best regards,
Simon
On 21.12.2018, 05:48, "Simon Rozman" <[email protected]...> wrote:
Hi,
> This may be a false alarm because Windows has decided this VM needs > "some" updates .. I'll update after the reboot dance. *yawn*
Actually, setup should work with a vanilla non-updated Windows 7 too. Though we should encourage our users to run up-to-date Windows.
Thank you very much for your report. I am downloading the IE11-Win7 image as we speak and will test _before_ and _after_ the updates.
Regards,
Simon
Successfully install 32bit from .exe
Quoted 24 lines · Simon Rozman
Hi,
I have found and fixed the issue with the installer: all 32-bit MSI packages were affected - didn't notice it myself as all my testing machines turned out to be 64-bit :(. New version of the installer is available at https://github.com/rozmansi/openvpn/releases.
Best regards,
SimonOn 21.12.2018, 05:48, "Simon Rozman" <[email protected]...> wrote:
Hi,
> This may be a false alarm because Windows has decided this VM needs > "some" updates .. I'll update after the reboot dance. *yawn*
Actually, setup should work with a vanilla non-updated Windows 7 too. Though we should encourage our users to run up-to-date Windows.
Thank you very much for your report. I am downloading the IE11-Win7 image as we speak and will test _before_ and _after_ the updates.
Regards,
Simon
Hi,
Quoted 2 lines · tincanteksup
Successfully install 32bit from .exe
However, there appears to be a problem ..
https://paste.fedoraproject.org/paste/Ih2LYl0cR8YoKnI2lNwhcQ
Part 1 is the client log *with* errors using the binary from your installer 2.4.6-m4 dated 1/Jan/2019
Part 2 is the routing before and after part 1
Part 3 is the client log *without* errors using the binary from the official installer 2.4.6 dated 26/Apr/2018
Both logs are for the same config file on the same machine Windows 7 32bit VM -- Fully upto date with MS.
Even though there are errors reported the VPN still works for both IPv4 and 6 with both versions of the binary.
Hi,
Quoted 6 lines
However, there appears to be a problem ..
https://paste.fedoraproject.org/paste/Ih2LYl0cR8YoKnI2lNwhcQ
Part 1 is the client log *with* errors using the binary from your installer 2.4.6-m4 dated 1/Jan/2019
The 2.4.6-m4 version is based on the current release/2.4 <https://github.com/OpenVPN/openvpn/commits/release/2.4> branch (with my MSI-specific patches applied). You should consider the 2.4.6-m4 more like a 2.4.7-alpha than a 2.4.6.
Quoted 10 lines
Part 2 is the routing before and after part 1
Part 3 is the client log *without* errors using the binary from the official installer 2.4.6 dated 26/Apr/2018
Both logs are for the same config file on the same machine Windows 7 32bit VM -- Fully upto date with MS.
Even though there are errors reported the VPN still works for both IPv4 and 6 with both versions of the binary.
Probably a patch between 2.4.6 from 26/Apr/2018 and 2.4.6-m4 from 1/Jan/2019 introduced an error-level check after the netsh.exe interface ipv6 add route call.
Take this as a bonus: you are testing MSI setup and the 2.4.7 prerelease at the same time. :)
I am thinking of rebasing the 2.4.6-mX on the original 2.4.6 release from 26/Apr/2018 to avoid confusion. Maybe package an even older release to allow MSI with MSI update testing.
Regards,
Simon
Hi,
Quoted 4 lines · Simon Rozman
Quoted 2 lines
Even though there are errors reported the VPN still works for both IPv4 and 6 with both versions of the binary.
Probably a patch between 2.4.6 from 26/Apr/2018 and 2.4.6-m4 from 1/Jan/2019 introduced an error-level check after the netsh.exe interface ipv6 add route call.
Not that I'm aware of (re-read "git log release/2.4" to be sure). We added
"turn on dhcp via iservice" support, but that's not "add route".
So it's likely something else. Need to look at the details in the log (what is pushed, how is netsh called, what is failing?).
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Hi,
Quoted 2 lines · Gert Doering
So it's likely something else. Need to look at the details in the log (what is pushed, how is netsh called, what is failing?).
The netsh calls look reasonable (and very much the same as for the "no error" case). So either it's some sort of "duplicate route" mishap, or we broke something in the environment when calling netsh - I see a few env related patches in release/2.4
Need to build a binary and test without iservice...
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...Quoted 6 lines · Gert Doering
Hi,
Quoted 3 lines · Simon Rozman
Quoted 2 lines
Even though there are errors reported the VPN still works for both IPv4 and 6 with both versions of the binary.
Quoted 8 lines
Quoted 1 line
Probably a patch between 2.4.6 from 26/Apr/2018 and 2.4.6-m4 from 1/Jan/2019 introduced an error-level check after the netsh.exe interface ipv6 add route call.
Not that I'm aware of (re-read "git log release/2.4" to be sure). We added
"turn on dhcp via iservice" support, but that's not "add route".So it's likely something else. Need to look at the details in the log (what is pushed, how is netsh called, what is failing?).
Sorry, this was probably my own fault ..
My best guess is this may have been something to do with me saving/restoring the VM.
I re-installed your m4 and then tried with my git_master and cannot reproduce the route failures. Tried a few re-installs etc ..
While testing different installs I found that the installer failed to uninstall the openvpn Legacy service once, but I tried so many different combinations of uninstall/new install vs install over a running process that one small glitch, which err'd out correctly with user press cancel, that I don't think it is worth worrying about.
(I was trying to break it deliberately)
Overall, the 32b installer from .exe seems to work well.
Sorry about the VM thing :-)
Hi,
Quoted 1 line
Quoted 1 line
The %TEMP%/openvpn-install.log is:
...
Quoted 1 line
I should mention I tested the .exe installer.
You didn't need to. The MSI packages does not setup any logging to file by default. The EXE installer is the one who adds /l* %TEMP%/openvpn-install.log to the msiexec command line. The %TEMP%/openvpn-install.log is EXE-installer-specific.
Regards,
Simon
Hi,
Quoted 4 lines
Action 05:28:59: FindTAPInterfaces. Searching for TAP interfaces Action start 05:28:59: FindTAPInterfaces.
CustomAction FindTAPInterfaces returned actual error code 1154 (note this may not be 100% accurate if translation happened inside sandbox)
error code 1154 = ERROR_INVALID_DLL
The error code 1154 (ERROR_INVALID_DLL) indicates, one of the DLLs required by libopenvpnmsica.dll was missing, failed to load or it's too old (missing some functions perhaps introduced later).
The libopenvpnmsica.dll requires the following DLLs in System32 folder:
ADVAPI32.dll
IPHLPAPI.DLL
KERNEL32.dll
msi.dll
msvcrt.dll
ole32.dll
SETUPAPI.dll
SHELL32.dll
SHLWAPI.dll
USER32.dll
VERSION.dll
I'm not sure about msvcrt.dll, but the rest are stock since more or less Windows NT, so your Windows should have them out of the box.
To be continued...
Regards,
Simon