/build/static/layout/Breadcrumb_cap_w.png

How to deploy deployment.properties file

Hey guys I need your help

I'm about to distributing a package which makes a couple of changes within the deployment.properties file. Since this is (java related) a text file and not an .ini file, this is not as easy.
Things get even harder because I don't know if this file exists on a certain machine (because it gets created only after the user started the java engine at least once).

In case 1 I only want to replace the appropriate entries where in case 2 I need to put the whole file on the target machine.

Should I accomplish this task with two components in my msi?
I thought I can use AppSearch to check for the file existence (by the way thank you Bob for the newest video on AppSearch) and whether or not the file is there install one or the other component.

Any other ideas?

Thanks in advance

0 Comments   [ + ] Show comments

Answers (2)

Posted by: fester2001 18 years ago
Yellow Belt
0
i just made a self extracting zip file and ran it at logon to replace the hole file for a similar situation
Posted by: ZhuBaJie 18 years ago
Orange Belt
0
Well in case one you need a custom action which runs on IF EXIST since it's no INI file.
In case two you use a system search and you can put an IF NOT EXIST condition on your component.

It shouldn't be too difficult.

Don't forget the deïnstallation actions.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ