[Coordination]Windows freecad installer update to 0.18

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [Coordination]Windows freecad installer update to 0.18

Post by uwestoehr »

wmayer wrote: Thu Mar 28, 2019 11:35 am Thanks, that's basically the message I was looking for. However, there are still a few little things to fix:
...[*]a comma after "ausgewählt" (Erweiterter Infinitiv)
Thanks Werner.
I like your style, you take even care of comma settings ;)

sgrogan wrote: Tue Mar 26, 2019 12:10 am
Sgrogan, I fixed the typos Werner mentioned to the German installer translation. So from my point of view we are ready, right? Or what else do you think the installer should do? Otherwise I think it is time to make a PR to have the code in FreeCAD's code repository.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [Coordination]Windows freecad installer update to 0.18

Post by uwestoehr »

sgrogan wrote: Thu Mar 28, 2019 11:36 pm Any issue installing 64/32 side by side?
Since I came to FreeCAD with having the Py2/Qt4 build and the Conda build. So having several build running is not problem.
Installed can of course only be onve version. I mean with installed that the .FCStd file format can only be set to one build. The installer works that way that every run of the installer will set the FCStd file extension again. So you can e.g. at first install 32bit, then 64bit and as result double-clicking on *.FCStd will open the 64bit version since this was installed most recent.
User avatar
ebrahim raeyat
Posts: 625
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: [Coordination]Windows freecad installer update to 0.18

Post by ebrahim raeyat »

uwestoehr wrote: Fri Mar 22, 2019 12:46 am FindProc is a plugin for NSIS. So this step is to install a plugin for NSIS.
Findproc stands for "find process" and allows NSIS to check what programs are currently running (to prevent that e.g. FC is currently executed when the installer is run).
Thanks for preparing this installation script. I examine that in 4 system, and in two case it gives me this error.
it have not been installed freecad on this system before:
freecad.jpg
freecad.jpg (70.33 KiB) Viewed 1077 times
User avatar
ebrahim raeyat
Posts: 625
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: [Coordination]Windows freecad installer update to 0.18

Post by ebrahim raeyat »

ebrahim raeyat wrote: Fri Mar 29, 2019 7:03 am
It is related to FreeCAD.exe naming! if i change the name for example FreeCAD18.exe that error did not appear!
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [Coordination]Windows freecad installer update to 0.18

Post by uwestoehr »

ebrahim raeyat wrote: Fri Mar 29, 2019 7:18 am It is related to FreeCAD.exe naming! if i change the name for example FreeCAD18.exe that error did not appear!
I am confused because the installer itself has the file name "FreeCAD-0180-Installer-x.exe" where x is the version number of the installer.

When executing the installer it checks at first that there is no FreeCAD.exe is currently running. This is only the case if FreeCAD is running. So what you see is correct. What I don't understand is why the installer has on your system the filename "FreeCAD.exe".

Could you please take my latest installer and try again:
https://github.com/donovaly/FreeCADInst ... es/tag/0.8

Thanks to your post I see here that on Win 10 the installer does not detect a running FreeCAD -> I'll investigate this.
User avatar
ebrahim raeyat
Posts: 625
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: [Coordination]Windows freecad installer update to 0.18

Post by ebrahim raeyat »

uwestoehr wrote: Fri Mar 29, 2019 2:39 pm
ebrahim raeyat wrote: Fri Mar 29, 2019 7:18 am It is related to FreeCAD.exe naming! if i change the name for example FreeCAD18.exe that error did not appear!
I am confused because the installer itself has the file name "FreeCAD-0180-Installer-x.exe" where x is the version number of the installer.

When executing the installer it checks at first that there is no FreeCAD.exe is currently running. This is only the case if FreeCAD is running. So what you see is correct. What I don't understand is why the installer has on your system the filename "FreeCAD.exe".

Could you please take my latest installer and try again:
https://github.com/donovaly/FreeCADInst ... es/tag/0.8

Thanks to your post I see here that on Win 10 the installer does not detect a running FreeCAD -> I'll investigate this.
I just rename it for better naming! also I had been used version 0.8. I finally rename it to FreeCAD18.exe for end user release.

https://github.com/ebrahimraeyat/Civil/releases
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: [Coordination]Windows freecad installer update to 0.18

Post by sgrogan »

uwestoehr wrote: Thu Mar 28, 2019 11:59 pm Since I came to FreeCAD with having the Py2/Qt4 build and the Conda build. So having several build running is not problem.
Installed can of course only be onve version. I mean with installed that the .FCStd file format can only be set to one build. The installer works that way that every run of the installer will set the FCStd file extension again. So you can e.g. at first install 32bit, then 64bit and as result double-clicking on *.FCStd will open the 64bit version since this was installed most recent.
When trying to install the x64 version after the x32 version, the x64 wants to install to Program Files(x86).

This is an edge case so I think a pull request is OK now.
I have uploaded what I hope is the last RC here: https://github.com/FreeCAD/FreeCAD/releases/tag/0.18 that uses your installer (v 0.8). Included in this is a packaging fix for the FlatMesh module.

Thanks for all your work! This is a big upgrade for the users experience.
"fight the good fight"
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [Coordination]Windows freecad installer update to 0.18

Post by uwestoehr »

sgrogan wrote: Sat Mar 30, 2019 1:59 pm When trying to install the x64 version after the x32 version, the x64 wants to install to Program Files(x86).
This is because the installer is looking for an already installed FreeCAD. If the found FreeCAD has the same version, it will try to install FC over it (after issuing a dialog if you reapply want this). The reason is that if users have problems with a problem, they try to simply reinstall it. This is in fact not really necessary but I wrote several installer during the last years and users requested this. This "feature" can of course be removed if you think users should better uninstall FreeCAD before reinstalling.

sgrogan wrote: Sat Mar 30, 2019 1:59 pm I have uploaded what I hope is the last RC here:
Cool! But you should also include the typos I fixed in the German translation of the installer (as noted by wmayer), so please take the latest german.nsh file:
https://github.com/donovaly/FreeCADInst ... german.nsh
I can also make a new release including this change if you prefer.

While we are at it, it would be cool if I could ask users to help translating the installer. Maybe we can get some more languages. The existing translations
https://github.com/donovaly/FreeCADInst ... guages.nsh
are almost complete, except of the new dialog text for the warning when using the uninstaller option to delete the preferences.
If you agree I will ask in the forum.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [Coordination]Windows freecad installer update to 0.18

Post by uwestoehr »

uwestoehr wrote: Fri Mar 29, 2019 2:39 pm
ebrahim raeyat wrote: Fri Mar 29, 2019 7:18 am
Thanks to your post I see here that on Win 10 the installer does not detect a running FreeCAD -> I'll investigate this.
I found the problem: the FindProc plugin does not work on Windows 10 and was also makred as deprecated. I missed this info. The successor is the plugin nsProcess which the installer uses now.

I therefore created a new release:
https://github.com/donovaly/FreeCADInst ... es/tag/0.9

Note that in order to install the new plugin to NSIS the steps of the readme have been changed:
https://github.com/donovaly/FreeCADInst ... /README.md

sgrogan wrote: Sat Mar 30, 2019 1:59 pm
@sgrogan: the fixed typos to the German translation is included in the new release.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [Coordination]Windows freecad installer update to 0.18

Post by uwestoehr »

I made now a PR using version 0.9 of the new installer:
https://github.com/FreeCAD/FreeCAD/pull/2054
Post Reply