Unix Technical Forum

Re: [WIN32] Quiet install and changing defaults

This is a discussion on Re: [WIN32] Quiet install and changing defaults within the pgsql Hackers forums, part of the PostgreSQL category; --> > I am attempting to override the default installation > directory that the postgres MSI uses. I'm not familiar ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 07:59 AM
Magnus Hagander
 
Posts: n/a
Default Re: [WIN32] Quiet install and changing defaults

> I am attempting to override the default installation
> directory that the postgres MSI uses. I'm not familiar with
> MSI, but from what I've read I can specify properties on the
> command line to change properties in the installer? I've
> tried a variety of properties from looking at the
> installation log and by examining the properties using the
> ORCA tool from Microsoft. All to no avail:
>
> msiexec /i postgresql-8.1.msi SOURCEDIR=[my directory]
> msiexec /i postgresql-8.1.msi TARGETDIR=[my directory]
> msiexec /i postgresql-8.1.msi DEVDIR=[my directory]
>
> In all cases the installer still presents me with the default
> directory (c:\Program Files\Postgres8.1) and not the one I
> specify on the command line. Should some combination of the
> above work?
>
> My final goal is to be able to spawn the pgsql installer from
> my installer and override defaults for the user and password
> and installation directory. Is this feasible?
>
> Hopefully this is the right list, if not if someone could
> direct me to the correct one, I'd appreciate it.


This is documented on
http://pginstaller.projects.postgresql.org/silent.html. THe property
you're looking for is BASEDIR. You'll also need to send it to
postgresql-8.1-int.msi - this is also documented on the page above.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 08:00 AM
Chris Gow
 
Posts: n/a
Default Re: [WIN32] Quiet install and changing defaults

Magnus Hagander wrote:

>>I am attempting to override the default installation
>>directory that the postgres MSI uses. I'm not familiar with
>>MSI, but from what I've read I can specify properties on the
>>command line to change properties in the installer? I've
>>tried a variety of properties from looking at the
>>installation log and by examining the properties using the
>>ORCA tool from Microsoft. All to no avail:
>>
>>msiexec /i postgresql-8.1.msi SOURCEDIR=[my directory]
>>msiexec /i postgresql-8.1.msi TARGETDIR=[my directory]
>>msiexec /i postgresql-8.1.msi DEVDIR=[my directory]
>>
>>In all cases the installer still presents me with the default
>>directory (c:\Program Files\Postgres8.1) and not the one I
>>specify on the command line. Should some combination of the
>>above work?
>>
>>My final goal is to be able to spawn the pgsql installer from
>>my installer and override defaults for the user and password
>>and installation directory. Is this feasible?
>>
>>Hopefully this is the right list, if not if someone could
>>direct me to the correct one, I'd appreciate it.
>>
>>

>
>This is documented on
>http://pginstaller.projects.postgresql.org/silent.html. THe property
>you're looking for is BASEDIR. You'll also need to send it to
>postgresql-8.1-int.msi - this is also documented on the page above.
>
>//Magnus
>
>
>

Excellent!

Thanks for the info!

-- chris


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:52 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com