KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Remote Installer

 
Post new topic   Reply to topic    KiXforms Forum Index -> Script Archive
View previous topic :: View next topic  
Author Message
eddy
KiXforms Novice
KiXforms Novice


Joined: 28 Jun 2004
Posts: 4
Location: Grenoble - France

PostPosted: Sun Jul 04, 2004 3:56 pm    Post subject: Remote Installer Reply with quote

Hi All
I'm looking on this forum for 2 years now,
And I found a lot off nice stuff,
And thanks to you people it's «understandable » to me!
So i started building a tool with a lot of scripts, found on this site.
The name is RemoteInstaller.
I'm not a developer, but it is a challenge for me to get this tool working
I built this version in French, but I’m sure it will be in English and without bugs very soon
Thanks in advance for your help
Eddy

http://perso.wanadoo.fr/airglisse/
Back to top
View user's profile Send private message Visit poster's website
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Thu Jul 15, 2004 6:25 am    Post subject: Reply with quote

looks promising even though I understand none of the words except "OK"

does your proggy/installer check the correct version of kixforms.dll or does it just push and register what ever version it has?

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Thu Jul 15, 2004 6:31 am    Post subject: Reply with quote

k, it does not check.
you might wanna fix that.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
eddy
KiXforms Novice
KiXforms Novice


Joined: 28 Jun 2004
Posts: 4
Location: Grenoble - France

PostPosted: Thu Jul 15, 2004 4:37 pm    Post subject: Reply with quote

well Lonkero,

I would like to, but the version i use and "push" is the only one
where all funktions work
try an other version and you will see

+++ I' working on english Version ... 1 or 2 more weeks...
but have a look at the sources, i'm sure you understand this
even whit some french inside

Soon more
Eddy
Back to top
View user's profile Send private message Visit poster's website
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Thu Jul 15, 2004 7:43 pm    Post subject: Reply with quote

well, firstly, your kixforms version is so old that it made all my scripts crash.

and indeed I (even though am european) have no idea what those words there mean.
right, I could examine the source, but I rather wait for the killer app to be translated Wink

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
eddy
KiXforms Novice
KiXforms Novice


Joined: 28 Jun 2004
Posts: 4
Location: Grenoble - France

PostPosted: Fri Jul 16, 2004 10:20 pm    Post subject: Reply with quote

Sorry for crashing your scripts Embarassed

As I said before 1 or 2 weeks!

I’ve had nothing to do so " >> YESSSS << " Very Happy

Translation = done

Kixforms.dll update = done (now Kixforms Version 2.3.0 RC2 Build 44)

However, I still push the .dll
I do not really know this NSIS-installer, so this will wait a wile.

_________________
Eddy
http://perso.wanadoo.fr/airglisse/
Back to top
View user's profile Send private message Visit poster's website
eriqjaffe
KiXforms Follower
KiXforms Follower


Joined: 16 Aug 2004
Posts: 19
Location: Arlington Heights, IL, USA

PostPosted: Mon Aug 16, 2004 1:57 pm    Post subject: Reply with quote

eddy wrote:
However, I still push the .dll
I do not really know this NSIS-installer, so this will wait a wile.


Actually, NSIS has an UpgradeDLL macro availabe, at least in the current builds.

Implimentation is fairly simple...

Code:
; MUI 1.67 compatible ------
!include "MUI.nsh"
!include "UpgradeDLL.nsh"


and then, later on...

Code:
SetOutPath "$SYSDIR"
SetOverwrite off
File "(your source directory for the dll)\kixforms.dll"
!insertmacro UpgradeDLL "(your source directory for the dll)\kixforms.dll" "$SYSDIR\kixforms.dll" "$SYSDIR"


Seems to work well. Of course, I can't get NSIS to actually launch a KiX script after installing, but that's another matter.

--Eriq.
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Mon Aug 16, 2004 2:14 pm    Post subject: Reply with quote

NSIS Installer ... sounds interesting.

This is the Nullsoft Installer thing I saw from time to time, no ?
Where can I get this ?
Why don't I just Google it ?
What do I do in this thread anyway Shocked

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Mon Aug 16, 2004 7:09 pm    Post subject: Reply with quote

good Q Wink
_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
eriqjaffe
KiXforms Follower
KiXforms Follower


Joined: 16 Aug 2004
Posts: 19
Location: Arlington Heights, IL, USA

PostPosted: Mon Aug 16, 2004 8:58 pm    Post subject: Reply with quote

For the lazy...

http://nsis.sourceforge.net/

And there's also HM NIS Edit, which is to NSIS as KiXtarter::KiXtart. It also has a wizard, which is great for creating a generic installer, which can be tweaked to be as you like it.

Again, though, I have had no success getting it to trigger a KiX script. I always get "script not found" errors, no matter many different ways I point the installer towards the script.
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Mon Aug 16, 2004 9:51 pm    Post subject: Reply with quote

instead of pointing to script, pointing to wkix32 and naming script kixtart.kix...
that helps on many installers.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
eriqjaffe
KiXforms Follower
KiXforms Follower


Joined: 16 Aug 2004
Posts: 19
Location: Arlington Heights, IL, USA

PostPosted: Tue Aug 17, 2004 1:59 pm    Post subject: Reply with quote

Lonkero wrote:
instead of pointing to script, pointing to wkix32 and naming script kixtart.kix...
that helps on many installers.


Code:
; Finish page
!define MUI_FINISHPAGE_RUN "WKIX32.EXE"
!define MUI_FINISHPAGE_RUN_PARAMETERS "myscript.kix"
!insertmacro MUI_PAGE_FINISH


...should be all I need to do. I can do a similar syntax (using wkix32 as the executable and the script as the parameter) using the Clickteam Install maker, and it works fine.

I can even try pointing the parameter more specifically:

Code:
; Finish page
!define MUI_FINISHPAGE_RUN "WKIX32.EXE"
!define MUI_FINISHPAGE_RUN_PARAMETERS "$INSTDIR\myscript.kix"
!insertmacro MUI_PAGE_FINISH


Where $INSTDIR is the directory that KiXtart and the script were installed to...and wkix still fails to find the script. Now that I think about it, I wonder if NSIS is expecting a slash or a dash as part of the parameter, and it's getting confused by there not being one there...I'll have to look into that.

Or did you mean that naming the script "kixtart.kix" seems to work better than "any_other_script_name.kix"?

--Eriq.
Back to top
View user's profile Send private message
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Tue Aug 17, 2004 2:56 pm    Post subject: Reply with quote

he meant that kixtart.kix is the default name the *kix32.exe are searching for if no name is specified ...
_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
eriqjaffe
KiXforms Follower
KiXforms Follower


Joined: 16 Aug 2004
Posts: 19
Location: Arlington Heights, IL, USA

PostPosted: Wed Aug 18, 2004 2:23 pm    Post subject: Reply with quote

Actually, I think I found where I was making my mistake...

I was installing the files to the target directory ($INSTDIR), but was sending the KiXforms.dll to the Windows directory ($WINDIR).

The installer seemed to be looking in the wrong directory for the script...as long as you SetOutPath to the script's directory last, it seems to work.



Code:
; Finish page
!define MUI_FINISHPAGE_RUN "WKIX32.EXE"
!define MUI_FINISHPAGE_RUN_PARAMETERS "myscript.kix"
!insertmacro MUI_PAGE_FINISH

Section "Section 1" SEC01
  SetOutPath $SYSDIR
  SetOverwrite ifnewer
  File "(source directory)\kixforms.dll"
  SetOutPath $INSTDIR
  SetOverwrite on
  File "Installer2.1\KIX32.EXE"
  File "Installer2.1\WKIX32.EXE"
  File "Installer2.1\KX32.dll"
  File "Installer2.1\kx16.dll"
  File "Installer2.1\myscript.kix"
Section End


I'm not sure why setting the run parameter to $INSTDIR/myscript.kix didn't work, though. But this syntax seems to do the job.
Back to top
View user's profile Send private message
eddy
KiXforms Novice
KiXforms Novice


Joined: 28 Jun 2004
Posts: 4
Location: Grenoble - France

PostPosted: Fri Aug 27, 2004 9:18 pm    Post subject: Reply with quote

Hi

1. I updated my site today
there is a new version (1.08build2a) Very Happy
french and english
2. try it out and tell me about bugs Question
3. I think the founders of this forum will agree, Wink
this site is not to talk about NSIS
the NSIS - forum is at
http://forums.winamp.com/forumdisplay.php

just feel free to give me some feedback on this new version

thanks in advance

_________________
Eddy
http://perso.wanadoo.fr/airglisse/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Script Archive All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group