Language:
switch to room list switch to menu My folders
Go to page: First ... 17 18 19 20 [21] 22 23 24 25 ... Last
[#] Fri Mar 06 2015 16:52:48 EST from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


That's the installer by NullSoft, right?

I had to build an installer for our client tool using that, because fucking MSI doesn't let you create decent installation packages that can truly handle 64-bit vs. 32-bit environments, where you build one installer that installs appropriately for either operating system.

So, I settled on NullSoft's thing. It can. I sorta hate it, because it requires you learn a scripting language they invented, which to me is a step backwards, but there you go.

I wouldn't call myself a guru with it, but maybe I can help you.

[#] Tue Mar 10 2015 09:18:50 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

ah, yes thats great. Yes, its that Nullsoft thing.

i've got this template: https://github.com/arangodb/arangodb/blob/devel/Installation/Windows/Templates/NSIS.template.in

(https://docs.arangodb.com/cookbook/CompilingUnderWindows.html is the transscript howto generate it all)

and it installs to the systems startmenu like this:

/cygdrive/c/Users/All Users/Microsoft/Windows/Start Menu/Programs/ArangoDB 2.5.0-beta1

 

I've learned that one should call

SetShellVarContext all

so they get removed on uninstall again... I'm trying that, but the directory is not removed :-(

the *F*n compile process takes half an hour, and I can't seem to circumvent it, so the experience is pretty frustrating...



[#] Tue Mar 10 2015 10:15:23 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Uh, yeah, my installs are far simpler, so it doesn't take me as long to compile their stupid script.

Wow, yes, that's a serious script. I'll see if there's anything glaring concerning SetShellVarContext all .

[#] Tue Mar 10 2015 10:16:51 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Heh...

Push "this is a long ass string"
Push "ass"

Man, I love reading some of the colorful comments one can find in this sort of stuff.

[#] Tue Mar 10 2015 10:23:57 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

 

Tue Mar 10 2015 10:15:23 EDT from fleeb @ Uncensored

Wow, yes, that's a serious script. I'll see if there's anything glaring concerning SetShellVarContext all .

Well, its that cmake has to recompile arangodb in order to generate the package...

I wasn't able to bypass that...



[#] Tue Mar 10 2015 10:24:25 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


It's hard for me to tell, but I wonder if this is the problem:

http://nsis.sourceforge.net/Docs/Chapter4.html#setshellvarcontext

Note that it says 'if used in uninstaller code, this will only affect the uninstaller. To affect both, it needs to be used in both.'

So it's possible that you need to call this function during the uninstall portion of the script according to how it was used on the install portion of the script.

[#] Tue Mar 10 2015 10:32:42 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

Yes, I'm currently trying to add that.

learned: functions in the uninstall phase have to be prefixed un. *lol*



NSIS.template.in (application/octet-stream, 56238 bytes) [ View | Download ]
[#] Tue Mar 10 2015 13:23:04 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

hm, it seems it doesn't reach the SetShellVarContext - printf debugging is awsome with 20 minutes for each shot - NOT. :-(



[#] Tue Mar 10 2015 14:33:44 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Fucking hell... if it weren't for the fact that the damned thing can write for both 64 and 32 bit machines, I would pitch the damned thing.

Doesn't reach it... I wonder if it's outside a function or something.

I do recall finding the process generally tedious. But, are you unable to perhaps create a lighter version of the install (with simple 1k files) to test setup a little faster?

[#] Thu Mar 12 2015 09:41:58 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

*GNA NSIS* another Constant looking thing that flips depending on the shellcontetxt...

http://nsis.sourceforge.net/Reference/WriteRegExpandStr

If root_key is SHCTX or SHELL_CONTEXT, it will be replaced with HKLM if SetShellVarContext is set to
                  all and with HKCU if SetShellVarContext is set to current.

 

Deletes my Startmenu now on uninstall.



[#] Fri Mar 13 2015 08:59:57 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

lol MSVC.You get this if there is another compile running (i.e. by the jenkins user) on the same server.

  LINK : fatal error LNK1101: incorrect MSPDB120.DLL version; recheck installation of this product [C:\b\workspace\Contineous_W32_build\Build64\arangosh\arangosh.vcxproj]


[#] Fri Mar 13 2015 09:26:44 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Windows is peculiar about those All User vs. the installing user type crap.
It's just more of the fucking shell games Microsoft plays with regards to securing the operating system from hacking. The more byzantine Microsoft gets, the shittier the engineer's experience with Windows.

[#] Wed Mar 18 2015 12:53:57 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

well, after some reading and lots of fiddling...

https://github.com/arangodb/arangodb/blob/devel/Installation/Windows/Templates/NSIS.InstallOptions.ini.in

got it working the way I want it to.

The worse thing about NSIS probably realy is, that its got its completely own language not similar to anything, so once two weeks are passed, $brain drops everything and once another problem arises you start out again at zero...



[#] Wed Mar 18 2015 16:30:05 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Yeah, that's totally it.

If they'd only use something like lua or javascript, it wouldn't be so bad, but... ugh...

[#] Fri Mar 20 2015 05:49:02 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

[#] Fri Mar 20 2015 12:01:04 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

I can't wait to hear Richard Stallman telling us "it should be called GNU/Microsoft"

[#] Wed Apr 15 2015 16:52:07 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]


At long last!

[ http://www.theregister.co.uk/2015/04/15/ncr_android_atm ]

NCR is ditching Windoze on its ATM's, and replacing it with Linux. Interestingly, it's going to be an Android build, which seems to make sense, since Android is fast becoming the universal lightweight client-side operating system.

(Commie Comrade Richard Stallman would prefer if you called it "GNU/Android")

This is a great move. I wish them much success and that the rest of the industry will follow.

[#] Wed Apr 22 2015 00:44:26 EDT from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

ATM's (and banks) are finally catching up to where Autozone was back in the early 2000's

http://en.wikipedia.org/wiki/SCO%E2%80%93Linux_controversies#SCO_v._AutoZone

Can't find what I am looking for with the court rulings, but the Autozone kicked some ass back in the day apart from that short write-up that makes it just a blocking move.  P.J. is my only hope!  I know I read some Slashdot back in the day to confirm it.

Sad that I can't find it now with a quick search.  It is almost like some force is out there... controlling my searches and limiting them somehow, but I know, that does not make scene, so I continue about my business.

I just hope the ATM / bank folks don't pay the extortion of the M$ Android fees for "royalties" and other stepping on toes tax.



[#] Thu Apr 30 2015 08:35:19 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

Yup.  There's really no difference.  Microsoft funded the SCO controversy; the only difference this time around is that they're attacking Linux out in the open instead of using SCO as a proxy.

 



[#] Sun May 03 2015 01:57:24 EDT from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

Established giants will always fail (as long as my boot loader is unlocked or I can etch silicon)



Go to page: First ... 17 18 19 20 [21] 22 23 24 25 ... Last