Windows NSIS installer

Having trouble installing or compiling FreeCAD? Get help here.
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: Windows NSIS installer

Post by peterl94 »

The rc2 installer work fine for me.

So are you saying that C:/Users/Chris/Desktop/GitHub/Release-dist-x86 doesn't exist?
User avatar
sgrogan
Veteran
Posts: 6501
Joined: Wed Oct 22, 2014 5:02 pm

Re: Windows NSIS installer

Post by sgrogan »

Yes!, Don't know how it's possible.
Manually created and copying as a work around, but I have no clue?
"fight the good fight"
User avatar
sgrogan
Veteran
Posts: 6501
Joined: Wed Oct 22, 2014 5:02 pm

Re: Windows NSIS installer

Post by sgrogan »

x86 installer is up at the same link. I had to copy area.pyd to bin to pass the self tests. lib directory problems as above.
I know this is not right, but is it "good enough"? Probably not, but I can't seem to find the difference in the process.
"fight the good fight"
wmayer
Founder
Posts: 20074
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Windows NSIS installer

Post by wmayer »

Is there a trick to building the INSTALL project with VS2008?
You have to trigger it manually. Select the INSTALL target in the Solution Explorer and go to Project Only > Build Only INSTALL in the context-menu.
ruuaitro
Posts: 9
Joined: Sat Dec 16, 2017 12:08 pm

Re: Windows NSIS installer

Post by ruuaitro »

peterl94 wrote: Tue Apr 12, 2016 2:15 am
5. Ran BuildNSISInstaller.bat in [build dir]/src/WindowsInstaller (probably commented out the lines running the version script)

Note: in [build dir]/bin I only had the release versions of the libraries. I assume the installer script has the necessary file filters, but I didn't confirm that.
HI peterl ,

Thanks for this tutorial ,
but its not clear for me ;

please help to create installer freecad ?
User avatar
sgrogan
Veteran
Posts: 6501
Joined: Wed Oct 22, 2014 5:02 pm

Re: Windows NSIS installer

Post by sgrogan »

ruuaitro wrote: Wed Jan 17, 2018 6:57 am please help to create installer freecad ?
Hey ruuaitro,
Maybe you could tell us what you tried. We all seem to get it working a little different. I can confirm that you need to copy the dependencies manually, but how and where you do this depends on what you've done so far.
"fight the good fight"
User avatar
Kunda1
Veteran
Posts: 13443
Joined: Thu Jan 05, 2017 9:03 pm

Re: Windows NSIS installer

Post by Kunda1 »

Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
ruuaitro
Posts: 9
Joined: Sat Dec 16, 2017 12:08 pm

Re: Windows NSIS installer

Post by ruuaitro »

I try to use this lines for desktop shortcut in x64, but don`t create that . even if I use current

Code: Select all

setShellVarContext all
	StrCpy $1 $DESKTOP
put in over startmenu shortcut lines :

Code: Select all

#Create Desktop Shortcut
	CreateShortCut "$DESKTOP\${FULLNAME}\${APPNAME}.lnk" "$INSTDIR\bin\VareshCAD.exe" "" ""

Code: Select all

# Remove Desktop launcher
	Delete "$DESKTOP\${FULLNAME}\${APPNAME}.lnk"
after install package :
Image
Attachments
Capture.PNG
Capture.PNG (1.54 KiB) Viewed 1400 times
Post Reply