#1  
Old 15th June 2004, 03:47 PM
Anton Feiertag
 
Posts: n/a
Default The best SETPUP.EXE for Nexus Server app & how to create Alias

Hi All

I am using Delphi 7 and its Install Shield Express to create a SETUP for a
Nexus Server app. I assume I have to write my own custom setup program so
that the user has the minimum amount of work. With the Install Shield Setup
he still has to put the nxServer.exe in his startup (for 95/98/ME) and
execute "nxServer /install /username:.\User /passwordwd /start" on the
Server machine (for W2K/XP), AND specify the Server Computer as the first
command-line option in the app (on all the Client Machines), AND then he
still has to go to the Server machine, start nxServer and create an Alias.

I assume that if the Setup knows that this is the Server machine, the Setup
can do this himself.

Thanks
Anton


  #2  
Old 16th June 2004, 03:02 PM
Richard Wilson
 
Posts: n/a
Default Re: The best SETPUP.EXE for Nexus Server app & how to create Alias

Anton Feiertag wrote:
> Hi All
>
> I am using Delphi 7 and its Install Shield Express to create a SETUP for a
> Nexus Server app. I assume I have to write my own custom setup program so
> that the user has the minimum amount of work. With the Install Shield Setup
> he still has to put the nxServer.exe in his startup (for 95/98/ME) and
> execute "nxServer /install /username:.\User /passwordwd /start" on the
> Server machine (for W2K/XP), AND specify the Server Computer as the first
> command-line option in the app (on all the Client Machines), AND then he
> still has to go to the Server machine, start nxServer and create an Alias.
>
> I assume that if the Setup knows that this is the Server machine, the Setup
> can do this himself.
>
> Thanks
> Anton
>
>


Have a look at Inno Setup - the installer used for NexusDB.
It is VERY versatile script based installer AND open source!!

After a few goes I now have an installer that:
Installs all my data and the application exe file
Installs my server - and all it's control files
Puts a link to the server into the start up group so that the server
starts automatically [I believe it can be installed as a service if you
wish]
Installs an update application that can get new versions or data via
FTP. Adds a desktop icon for this application.
Installs my little start up application - this actually compares the
date stamp of both the updater and main application and any new versions
that have been downloaded - if they exist they are copied over. It then
runs the main application. A desktop icon is added for this
A readme file is copied in and displayed.

All this in one "Setup.exe" [or whatever you want to call it] - a ripper.

[If you want to look at the script for the above give me a yell.]

Richard W

  #3  
Old 16th June 2004, 05:37 PM
Magnus Haggren
 
Posts: n/a
Default Re: The best SETPUP.EXE for Nexus Server app & how to create Alias

I have started to look at InnoSetup and it looks very nice. I would be
intrested in your script. You can mail it to
__magnus.haggren___at__enera.se__ (just remove the underscores) or put it
into binaries.

Thanks,
Magnus Haggren

"Richard Wilson" <rwcon@chariot.net.au> wrote in message
news:40cfc62d@wic040d....
> Anton Feiertag wrote:
> > Hi All
> >
> > I am using Delphi 7 and its Install Shield Express to create a SETUP for

a
> > Nexus Server app. I assume I have to write my own custom setup program

so
> > that the user has the minimum amount of work. With the Install Shield

Setup
> > he still has to put the nxServer.exe in his startup (for 95/98/ME) and
> > execute "nxServer /install /username:.\User /passwordwd /start" on the
> > Server machine (for W2K/XP), AND specify the Server Computer as the

first
> > command-line option in the app (on all the Client Machines), AND then he
> > still has to go to the Server machine, start nxServer and create an

Alias.
> >
> > I assume that if the Setup knows that this is the Server machine, the

Setup
> > can do this himself.
> >
> > Thanks
> > Anton
> >
> >

>
> Have a look at Inno Setup - the installer used for NexusDB.
> It is VERY versatile script based installer AND open source!!
>
> After a few goes I now have an installer that:
> Installs all my data and the application exe file
> Installs my server - and all it's control files
> Puts a link to the server into the start up group so that the server
> starts automatically [I believe it can be installed as a service if you
> wish]
> Installs an update application that can get new versions or data via
> FTP. Adds a desktop icon for this application.
> Installs my little start up application - this actually compares the
> date stamp of both the updater and main application and any new versions
> that have been downloaded - if they exist they are copied over. It then
> runs the main application. A desktop icon is added for this
> A readme file is copied in and displayed.
>
> All this in one "Setup.exe" [or whatever you want to call it] - a ripper.
>
> [If you want to look at the script for the above give me a yell.]
>
> Richard W
>



  #4  
Old 16th June 2004, 06:41 PM
Jon Grewer
 
Posts: n/a
Default Re: The best SETPUP.EXE for Nexus Server app & how to create Alias

I am interested in looking at your script also.

Thanks,
--Jon


"Richard Wilson" <rwcon@chariot.net.au> wrote in message
news:40cfc62d@wic040d....
> Have a look at Inno Setup - the installer used for NexusDB.
> It is VERY versatile script based installer AND open source!!
>
> After a few goes I now have an installer that:
> Installs all my data and the application exe file
> Installs my server - and all it's control files
> Puts a link to the server into the start up group so that the server
> starts automatically [I believe it can be installed as a service if you
> wish]
> Installs an update application that can get new versions or data via
> FTP. Adds a desktop icon for this application.
> Installs my little start up application - this actually compares the
> date stamp of both the updater and main application and any new versions
> that have been downloaded - if they exist they are copied over. It then
> runs the main application. A desktop icon is added for this
> A readme file is copied in and displayed.
>
> All this in one "Setup.exe" [or whatever you want to call it] - a ripper.
>
> [If you want to look at the script for the above give me a yell.]
>
> Richard W
>



  #5  
Old 16th June 2004, 07:24 PM
Akkermans Automatisering
 
Posts: n/a
Default Re: The best SETPUP.EXE for Nexus Server app & how to create Alias

I am also interested in your script

regards,

John


  #6  
Old 17th June 2004, 12:57 AM
Lauchlan M
 
Posts: n/a
Default Re: The best SETPUP.EXE for Nexus Server app & how to create Alias

Thanks Richard, I looked at your script.

What it doesn't seem to do (maybe I missed it?) is install the nxserver.exe
as a NT service, creating an appropriate NT user account for this first.

There are a couple of Inno scripts mentioned in the thread started by Eivind
in the nx.wishlist newsgroup, that seem to have some ideas on this . . .

<<
From: "Eivind Bakkestuen [NDD]"
Newsgroups: nexusdb.public.wishlist.no.guarantee
Sent: Wednesday, April 07, 2004 9:07 PM
Subject: Att: to those interested in service install script...
>>


I would have a go myself, but I am still a little hazy on what has to happen
even if you install it as an NT service manually. I gather it is not just as
simple as running the nxserver from the Start | Run menu - one has to create
an appropriate Windows account to install / run it in, and understand how
this Windows account interacts with the account that the client app will be
running in.

If someone could explain the theory underlying what's involved in installing
nxserver via a script such as innosetup I'd be grateful.

I'm even more confused thinking what should happen when administrator
priviliges are locked down on the target PC that you want to install on, and
how one should account for this in the inno script.

> Have a look at Inno Setup - the installer used for NexusDB.
> It is VERY versatile script based installer AND open source!!
>
> After a few goes I now have an installer that:
> Installs all my data and the application exe file
> Installs my server - and all it's control files
> Puts a link to the server into the start up group so that the server
> starts automatically [I believe it can be installed as a service if you
> wish]
> Installs an update application that can get new versions or data via
> FTP. Adds a desktop icon for this application.
> Installs my little start up application - this actually compares the
> date stamp of both the updater and main application and any new versions
> that have been downloaded - if they exist they are copied over. It then
> runs the main application. A desktop icon is added for this
> A readme file is copied in and displayed.
>
> All this in one "Setup.exe" [or whatever you want to call it] - a ripper.
>
> [If you want to look at the script for the above give me a yell.]



  #7  
Old 17th June 2004, 01:44 AM
Pierre Demers
 
Posts: n/a
Default Re: The best SETPUP.EXE for Nexus Server app & how to create Alias

Hello Richard,

> [If you want to look at the script for the above give me a yell.]


Can you send it to me also.

Thanks
Pierre


  #8  
Old 17th June 2004, 07:14 AM
Q Correll
 
Posts: n/a
Default Re: The best SETPUP.EXE for Nexus Server app & how to create Alias

Richard,

| [If you want to look at the script for the above give me a yell.]
|

I would like to see it as well. Did you put it up in Binaries?

--
Q

2004-06-16 13:14:16

XanaNews Ver. 1.16.3.1 - Mods by Q
  #9  
Old 17th June 2004, 11:16 AM
Richard Wilson
 
Posts: n/a
Default Re: The best SETPUP.EXE for Nexus Server app & how to create Alias- with Script

Richard Wilson wrote:

> Anton Feiertag wrote:
>
>> Hi All
>>
>> I am using Delphi 7 and its Install Shield Express to create a SETUP
>> for a
>> Nexus Server app. I assume I have to write my own custom setup program so
>> that the user has the minimum amount of work. With the Install Shield
>> Setup
>> he still has to put the nxServer.exe in his startup (for 95/98/ME) and
>> execute "nxServer /install /username:.\User /passwordwd /start" on the
>> Server machine (for W2K/XP), AND specify the Server Computer as the first
>> command-line option in the app (on all the Client Machines), AND then he
>> still has to go to the Server machine, start nxServer and create an
>> Alias.
>>
>> I assume that if the Setup knows that this is the Server machine, the
>> Setup
>> can do this himself.
>>
>> Thanks
>> Anton
>>
>>

>
> Have a look at Inno Setup - the installer used for NexusDB.
> It is VERY versatile script based installer AND open source!!
>
> After a few goes I now have an installer that:
> Installs all my data and the application exe file
> Installs my server - and all it's control files
> Puts a link to the server into the start up group so that the server
> starts automatically [I believe it can be installed as a service if you
> wish]
> Installs an update application that can get new versions or data via
> FTP. Adds a desktop icon for this application.
> Installs my little start up application - this actually compares the
> date stamp of both the updater and main application and any new versions
> that have been downloaded - if they exist they are copied over. It then
> runs the main application. A desktop icon is added for this
> A readme file is copied in and displayed.
>
> All this in one "Setup.exe" [or whatever you want to call it] - a ripper.
>
> [If you want to look at the script for the above give me a yell.]
>
> Richard W
>

The script is short enough that I will just include it here:....
I'll also post it in the binaries so you can you can have it without
word wraps etc


; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
; WARNING This is FULL SETUP it OVERWRITES ANY EXISTING DATA FILES!!!!!

[Setup]
AppName=Wool Manager
AppVerName=Wool Manager
AppPublisher=Richard Wilson Consuting
AppPublisherURL=www.adwool.com.au
AppSupportURL=www.adwool.com.au
AppUpdatesURL=www.adwool.com.au
DefaultDirName=C:\Adwool
DisableDirPage=yes
DefaultGroupName=Wool Manager
OutputBaseFileName=AdwoolFullSetup

[Messages]
SetupLdrStartupMessage=This will install %1. %nIT WILL OVERWRITE ANY
EXISTING DATA%nIt is intended for a new or replacement
installation.%n%nDo you wish to continue?

[Tasks]
Name: "desktopicon"; Description: "Create a &desktop icon";
GroupDescription: "Additional icons:"

[Files]
Source: "C:\AdwoolInstall\ffserver.lnk"; DestDir: "{commonstartup}";
Flags: ignoreversion
Source: "C:\AdwoolInstall\CompareCopyRun.exe"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\Data\*.*"; DestDir: "{app}\Data"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\Download\*.*"; DestDir: "{app}\Download";
Flags: ignoreversion
Source: "C:\AdwoolInstall\Latest\*.*"; DestDir: "{app}\Latest"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\Upload\*.*"; DestDir: "{app}\Upload"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\Update.Exe"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\Adwool.hlp"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\Adwool.ini"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\Ffe.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\AdwoolInstall\FFE.INI"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\AdwoolInstall\FFSALIAS.FF2"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\ffserver.exe"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\FFSERVER.HLP"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\FFServer.ini"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\FFSINFO.FF2"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\FFSTRAN.CFG"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\AdWool.exe"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\CompareCopyRun.exe"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\CompareCopyRun.ini"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\README.TXT"; DestDir: "{app}"; Flags:
ignoreversion
Source: "C:\AdwoolInstall\Adwool.ico"; DestDir: "{app}"; Flags:
ignoreversion

; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\Wool Manager"; Filename: "{app}\CompareCopyRun.exe"
Name: "{userdesktop}\Wool Manager"; Filename:
"{app}\CompareCopyRun.exe"; IconFileName: "{app}\Adwool.ico"; Tasks:
desktopicon
Name: "{userdesktop}\Update WM"; Filename: "{app}\Update.exe"; Tasks:
desktopicon

[Run]
Filename: "{app}\README.TXT"; Description: "View the README file";
Flags: postinstall shellexec skipifsilent

  #10  
Old 17th June 2004, 05:58 PM
Stefan Paege
 
Posts: n/a
Default Re: The best SETPUP.EXE for Nexus Server app & how to create Alias - with Script

Richard,

if this script is what you use in the wild then you might want to correct
the typo in the AppPublisher parameter.

> [Setup]
> AppName=Wool Manager
> AppVerName=Wool Manager
> AppPublisher=Richard Wilson Consuting


--
elektronik-labor Carls GmbH & Co. KG
Stefan Paege

Kontakt: +49 (0)5973 9497-23 Fax: +49 (0)5973 9497-19




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Database Alias C# David Compton nexusdb.public.support.adoprovider 1 24th September 2010 04:49 PM
OT: Nexus with RB, and alias switching John Turner nexusdb.public.discussions 2 31st July 2004 02:20 AM
Server new alias creation Richard M. Atwater nexusdb.public.support 2 31st October 2003 04:48 AM
Create Alias from Client Phil Corley nexusdb.public.support 6 17th September 2003 04:52 AM
Beta 4 Server Alias William E. Mahaffey nexusdb.public.support 7 16th July 2003 04:41 AM


All times are GMT +11. The time now is 02:33 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.