OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Modify Default Installation Path Programtically.

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
workklo
General User
General User


Joined: 13 Oct 2004
Posts: 36

PostPosted: Sun Mar 06, 2005 7:34 pm    Post subject: Modify Default Installation Path Programtically. Reply with quote

I am modifing the source code of OpenOffice.org 1.9.80 (in Windows). Here is what I need to do:
- Modify the product name to be MyOffice.
- Modify the company name (from Sun) to MyCompany.

I have already modified instsetoo_native\util\openoffice.lst. After recompilation of instsetoo_native, I run the installer. I get the product name changed to MyOffice. When I click on Custom Setup, I see
C:\Program Files\Sun\MyOffice
instead of
C:\Program Files\MyCompany\MyOffice

I would like to ask how to change the default installation path. Which source file do I have to modify?

I have found out that this in the log
DEFAULTDESTPATH=<winprogpath>\%PRODUCTNAME%PRODUCTVERSION

Somehow <winprogpath> is translated to be C:\Program Files concated with the company name... I know that I could just hard-code it, but is there a better way?

Work
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group