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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
i just made a self extracting zip file and ran it at logon to replace the hole file for a similar situation
Answered 03/01/2006 by: fester2001
Yellow Belt

Please log in to comment
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.
Answered 03/01/2006 by: ZhuBaJie
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity