This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: hi is it possible for me to read from the resources.zip or somewhere in the temp
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2008
06:53 AM
hi is it possible for me to read from the resources.zip or somewhere in the temp
hi,
i have a requirement wherein i want to read from a properties file which i am installing .
That is i want to read from the properties file in the preinstall panels from the properties file which i will be installing afterwards so i want to know if i can read from any temp(WINDOWS\Temp) or somewhere .
Any suggestions are awaited.
james
i have a requirement wherein i want to read from a properties file which i am installing .
That is i want to read from the properties file in the preinstall panels from the properties file which i will be installing afterwards so i want to know if i can read from any temp(WINDOWS\Temp) or somewhere .
Any suggestions are awaited.
james
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2008
01:34 AM
hi,
my aim is to read a properties file which i will be installing in the install task and i want to read the contents of the file in the preinstall task.
Hence i want to read from the properties file in the resources i have bundled .
I want to know from where i should read them or am i absurd in trying such a thing.
I know that we have a resources.zip file and whenever we run the installer it self extracts in the windows/TEMP directory.
james.
my aim is to read a properties file which i will be installing in the install task and i want to read the contents of the file in the preinstall task.
Hence i want to read from the properties file in the resources i have bundled .
I want to know from where i should read them or am i absurd in trying such a thing.
I know that we have a resources.zip file and whenever we run the installer it self extracts in the windows/TEMP directory.
james.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 04, 2008
09:19 AM
Perhaps see if the getResource method of the InstallerProxy class will help?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 09, 2008
05:08 AM
----------------------------------------
public boolean evaluate rule(){
installerProxy.substitute("$INSTALLANYWHERE$","JAMES");
}
Can i use in this manner??????????????????????????????????????????????????/
james.
public boolean evaluate rule(){
installerProxy.substitute("$INSTALLANYWHERE$","JAMES");
}
Can i use in this manner??????????????????????????????????????????????????/
james.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 10, 2008
08:32 AM
CustomCodeRuleProxy does indeed support the substitute method. Please see the javadoc help for details.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
09:58 AM
hi,
it is not possible to access the installer resources in the evaluateRule() method.
james.
it is not possible to access the installer resources in the evaluateRule() method.
james.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 11, 2008
03:36 PM
(Duplicate question; follow-up [post=413148]here[/post]...)