Customizable Deployment Upgrade

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by Michael Hill >> Sun, 20 May 2007 22:11:35 GMT

Morning,

I'm trying to customize the Customizable Upgrade and after looking at Appendix D in the Administration Guide, I have a question.

I can specify the DB/Bin/Ini locations but I'm unable to specify what the Install Directory is. I would have thought if you could specify the others you should be able to specify this as well. Can anybody help me with this?

I want to effectively run this with no user interaction. The other question woudl be if it errors for any reason what logging does it create.

Cheers

Michael

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by Michael Jones >> Tue, 22 May 2007 1:29:43 GMT

what do you mean when you say the 'install' directory?

Once you take into account the bin/DB directories there really isnt much else to be included in a minimal Jade install.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by Michael Hill >> Wed, 23 May 2007 3:15:58 GMT

Michael,

I want to be able to change the "Install Directory" location from within setup.ini. The 3 crappy names I have setup in the setup.ini file, but I can't change the 'Install Directory' one. It's getting the path from somewhere but I don't know where and I don't want the user to have to enter anything. I know I can bypass this screen using setup.ini, and will do this once I find a way to enter the directory I require.

Does that calrify?
Attachments
4865_1.jpg
4865_1.jpg (29.13 KiB) Viewed 5104 times
Last edited by ConvertFromOldNGs on Fri Aug 07, 2009 4:22 pm, edited 1 time in total.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by dcooper@jade.co.nz >> Thu, 24 May 2007 0:01:13 GMT

The "Install Directory" value for the JADE 6.1 upgrade comes from this setting in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\
Jade SoftwareCorporation\JADE\Databases\RecentPaths60

However, if you set the existing Upgrade* ini file options (using example paths below):

UpgradeDbDir=D:\jade62cdu\system
UpgradeBinDir=D:\jade62cdu\bin UpgradeINIFile=D:\jade62cdu\system\jade.ini

and suppresses the "Select Installation To Upgrade" dialog with:

ShowUpgradeDir=No

it should do what you want (ie: the dialog is not actually used in the upgrade).

Dean.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by Michael Hill >> Thu, 24 May 2007 1:38:13 GMT

Dean,

I suppressed "Select Installation to Upgrade" dialog and still got the error saying "Unable to find directory/path" for the installation directory. From what you said the only what I'm going to be able to do this is to change the registry key to force the installation directory to where we want it to go. I'm a bit weary of doing this as our upgrade process doesn't involve manipulation of the clients registry. Looks like I may have to go back to the way we normally do it.

Michael

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by dcooper@jade.co.nz >> Thu, 24 May 2007 9:30:34 GMT

Just to make sure I understand clearly. Are you wanting to use the CDU to install a fresh environment (ie: where the folders specified by UpgradeBinDir, etc don't already exist)? Or are you wanting to use it to upgrade an existing environment (ie: where the UpgradeBinDir, etc folders do already exist)?

Dean.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by Michael Hill >> Thu, 24 May 2007 20:04:58 GMT

Upgrade and existing environment.

Had a chat with the guys at work and since we know where the install directory is as we do get the use to enter where the program is installed, we will change that registry key to point to the correct location.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by dcooper@jade.co.nz >> Thu, 24 May 2007 21:37:06 GMT

So you set UpgradeDbDir, UpgradeBinDir and UpgradeINIFile to the valid, existing full paths of the folders you want upgraded, suppressed the dialog, and it still didn't look in the right place for the installation directory? What version of JADE are you using please?

Dean.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by Michael Hill >> Thu, 24 May 2007 22:21:46 GMT

Dean,

I've just taken over the machine from another developer.

The registry setting you mentioned was set to say c:\test.
Say I'll set the UpgradeDbDir to c:\test2\system , UpgradeBinDir to c:\test2\bin and UpgradeINIFile to c:\test2\bin\jade.ini.

The install directory was set to c:\test as per registry when I really want it set to c:\test2.

CDU I was using was the one for 6.1.10.

Michael

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Customizable Deployment Upgrade

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:08 pm

by dcooper@jade.co.nz >> Tue, 22 May 2007 9:53:17 GMT

I haven't tried it so can't be 100% sure, but I think that other folders (eg: documentation, Report Writer, etc) are always located relative to the bin folder (ie: up one level and across), in which case the bin folder effectively specifies the install directory path. The InstallShield portion of the CDU doesn't log anything - it will attempt to display any error messages on the screen. Any logging from the JADE upgrade portion will be written to the usual logs directory.

Dean.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests