bipolar
bipolar copied to clipboard
Install Fails
Installing Microsoft Visual C++ Redistributable [C:\Program Files (x86)\Bipolar\vcredist_x64.exe]
Execute: "C:\Program Files (x86)\Bipolar\vcredist_x64.exe" /norestart /q
C:\Program Files (x86)\Bipolar\vcredist_x64.exe returned exit code 1638
Installing Microsoft Visual C++ Redistributable [C:\Program Files (x86)\Bipolar\vcredist_x64.exe]
Execute: "C:\Program Files (x86)\Bipolar\vcredist_x64.exe" /norestart /q
C:\Program Files (x86)\Bipolar\vcredist_x64.exe returned exit code 1638
Output folder: C:\Program Files (x86)\Bipolar\hook
Extract: Qt5Network.dll... 100%
Execute: "C:\Program Files (x86)\Bipolar\Bipolar.exe" -install-hook
Bipolar returned exit code 2 while installing hook
Execute: "C:\Program Files (x86)\Bipolar\Bipolar.exe" -install-hook
Bipolar returned exit code 2 while installing hook
Completed
Said it couldn't find FlowSync. It's located in C:\Program Files (x86)\Polar FlowSync
.net failed cause I have newer version: [1DF8:3E5C][2018-05-26T04:12:42]e000: Error 0x80070666: Cannot install a product when a newer version is installed.
My OS is Windows 10 Enterprise.
Hi @shaund,
Bipolar goes to quite a bit of effort to locate Polar Flowsync (see FlowSyncHook::flowSyncDir()), this includes:
- FlowSync's known uninstaller registry key (in each of the possible registry hives); and
- standard locations under
%ProgramFiles%
,%ProgramFiles(x86)%
,%ProgramW6432%
; and - if all else fails, under
"C:\Program Files"
and"C:\Program Files (x86)"
For 2 and 3, we are checking "standard" install locations, which for Polar FlowSync (at least for the versions I've installed) defaults to %ProgramFiles(x86)%\Polar\Polar FlowSync
- note the extra Polar
subdirectory that your installation is not using. Did you choose a custom directory when installing Polar FlowSync? Or is FlowSync defaulting to a different path structure now?
Anyway, there's three things we can do from here:
- I would really like to see / understand why the registry key detection didn't work (its the only method that could work, for example, with unusual custom installation paths, like
Z:\My Stuff\Stuff from Polar\FlowSync
(perfectly valid, but hard to detect). If you don't mind, I'd really appreciate you taking a few minutes to check the registry keys for me, so I can hopefully see what went wrong there. The key should be\Microsoft\Windows\CurrentVersion\Uninstall\{A1538F5C-7B65-4DB6-9FFB-FFC0DF2E85D8}_is1
, and that could be underHKEY_CURRENT_USER\Software
, orHKEY_CURRENT_USER\Software\WOW6432Node
, orHKEY_LOCAL_MACHINE\Software
orHKEY_LOCAL_MACHINE\Software\WOW6432Node
. If you're not sure what registry keys are, and how to view them, then don't worry about it. - I will update Bipolar to also check standard install paths without the extra
Polar
subdirectory. This should work in your case, but still wouldn't work for the extreme example I gave above. - In the meantime, you can install the hook manually. To do so, all you have to do is copy the file
C:\Program Files (x86)\Bipolar\hook\Qt5Network.dll
(note this is the one in thehook
directory, not theBipolar
directory) over the top of the same file in thePolar FlowSync
directory - of course, its a very good idea to backup the existing file first (which Bipolar would if it managed to locate the FlowSync directory).
Cheers.
Thanks for the fast response.
I might have chosen custom. I do that sometimes if a program tries to install into nested folders. But I couldn't say for sure.
I'll try 3. In the meantime, here's that key.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A1538F5C-7B65-4DB6-9FFB-FFC0DF2E85D8}_is1]
"Inno Setup: Setup Version"="5.5.3 (u)"
"Inno Setup: App Path"="C:\\Program Files (x86)\\Polar FlowSync"
"InstallLocation"="C:\\Program Files (x86)\\Polar FlowSync\\"
"Inno Setup: Icon Group"="Polar\\Polar FlowSync"
"Inno Setup: Language"="en"
"DisplayName"="Polar FlowSync version 2.6.2"
"DisplayIcon"="C:\\Program Files (x86)\\Polar FlowSync\\FlowSync.exe"
"UninstallString"="\"C:\\Program Files (x86)\\Polar FlowSync\\unins000.exe\""
"QuietUninstallString"="\"C:\\Program Files (x86)\\Polar FlowSync\\unins000.exe\" /SILENT"
"DisplayVersion"="2.6.2"
"Publisher"="Polar Electro Oy"
"URLInfoAbout"="http://www.polar.com"
"HelpLink"="http://www.polar.com"
"URLUpdateInfo"="http://www.polar.com"
"NoModify"=dword:00000001
"NoRepair"=dword:00000001
"InstallDate"="20180122"
"MajorVersion"=dword:00000002
"MinorVersion"=dword:00000006
"EstimatedSize"=dword:0001321d
I installed Bipolar-0.5.8.567 on Windows 10 and during the installation process, a popup window complained that it was impossible to install the Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.24215 included. Retrying didn't help. It is likely because I already had a newer/equivalent version installed, as everything runs smoothly. Just a silly question, on this page you stated that
The separate v800_downloader project provides a way of extracting training session data from the V800 directly, without the need for the hook mentioned above. That project extracts data in a format that is compatible with this project's Bipolar application, so can be used as a hook alternative if desired.
I copied and pasted the files downloaded by V800downloader (before they are automatically deleted by the program itself after conversion) and tried to feed them to Bipolar, but it said it didn't find any file to convert. How should I use them? Or, how should I use V800downloader as alternative hook? Thanks a lot.
Hi @roesassi,
I installed Bipolar-0.5.8.567 on Windows 10 and during the installation process, a popup window complained that it was impossible to install the Microsoft Visual C++ 2015 Redistributable
Yeah, the updated hook is not included in 0.5.8. It has only just been included in Bipolar 0.5.9 - the Windows installer for that release is currently building on AppVeyor, and will be automatically added to GitHub once its done (OSX dmg is already there).
I copied and pasted the files downloaded by V800downloader
The files have to be renamed as per V800export::make_bipolar_names() - V800 Downloader does this, unless it crashes too early. Once renamed, Bipolar should pick them up quite happily as long as there in one of Bipolar's input directories, and the there's no corresponding output files yet.
Cheers.
I installed the new version Bipolar-0.5.9.596.exe but it still says that it was impossible to install the Microsoft Visual C++ 2015 Redistributable (x64). This is the part of the log:
Installing Microsoft Visual C++ Redistributable [C:\Program Files (x86)\Bipolar\vcredist_x64.exe] Execute: "C:\Program Files (x86)\Bipolar\vcredist_x64.exe" /norestart /q C:\Program Files (x86)\Bipolar\vcredist_x64.exe returned exit code 1638
It is probably due to the fact that I already have them installed. Ignoring the issue complete the installation with no problem.
Regarding the V800downloader, it is possible that the files downloaded are renamed before being converted, but then they are deleted so there is no way to get them. And if I uncheck all the three output (implicitly asking only to download), V800downloader says that everything was downloaded before doing anything. Where I am making a mistake? Should I start V800downloader with a specific option to use it ad a hook in Windows? Thanks.
mpossible to install the Microsoft Visual C++ 2015 Redistributable (x64)
Seems like this is a known bug in some versions of Microsoft Visual C++ 2015 redistributable - https://support.microsoft.com/en-au/help/4092997/vc-2015-redistributable-install-error-1638-when-newer-version-present
Regarding the V800downloader, it is possible that the files downloaded are renamed before being converted, but then they are deleted so there is no way to get them.
Yes, they are deleted once converted. That's just how the V800_downloader was written. You can probably just comment out this line to prevent that?
And if I uncheck all the three output (implicitly asking only to download), V800downloader says that everything was downloaded before doing anything.
I think the V800_downloader basically goes through each of the checked activities, and for each one, if there's an export type checked that it doesn't already have an output for, then and only then it transfers the data from the watch. So by unchecking all of the output formats, it concludes that all the necessary work is already done.
Should I start V800downloader with a specific option to use it ad a hook in Windows?
I'm not quite sure what you're asking here. The V800_downloader does not use any hook on any platform - it uses the USB connection to the watch directly.
This issue is (almost) 5 years old now, so I'm going to close it. Feel free to re-open if its still relevant somehow. Thanks.