Search found 22 matches

Go to advanced search

by Phil
Tue Mar 25, 2008 1:48 am
Forum: Common Problems
Topic: adding files to current JRE
Replies: 21
Views: 21941
 
Jump to post

Hi,
I'd just like to say a big public thank you to Cosmin for helping us through our installer issues. Some of the problems were in the way we'd set up some custom actions (and interpretation of how we were meant to do it), but also Cosmin's help in getting the vb script working correctly was great ...
by Phil
Mon Mar 03, 2008 11:43 am
Forum: Common Problems
Topic: adding files to current JRE
Replies: 21
Views: 21941
 
Jump to post

Have just emailed it, thanks
by Phil
Sat Mar 01, 2008 5:25 am
Forum: Common Problems
Topic: adding files to current JRE
Replies: 21
Views: 21941
 
Jump to post

Hi Cosmin, thanks for the details. I've pasted your code into a file called GetCurrJavaVer.vbs. Unfortunately when I run the installer I still get the script error when the script completes.

I ran the installer with logging, and this is the last few lines of the log (and there is no mention of any ...
by Phil
Fri Feb 29, 2008 7:29 am
Forum: Common Problems
Topic: adding files to current JRE
Replies: 21
Views: 21941
 
Jump to post

Hi, sorry only just got back to this.

Ok, I could not see how your custom action could do the right thing so I added:
strKeyPath2 = "SOFTWARE\JavaSoft\Java Runtime Environment\" & strValue & "\"
strValueName2 = "JavaHome"
oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath2,strValueName2,strValue2 ...
by Phil
Thu Jan 24, 2008 12:04 am
Forum: Common Problems
Topic: adding files to current JRE
Replies: 21
Views: 21941
 
Jump to post

Thanks for the vbs... but it doesn't work (error, "Object required: 'Session'" on line 12). I don't know anything about vbs and how to fix it - can you point me in the direction of a good vbs tutorial or resource? Otherwise this isn't really a solution :(

Long-term it would be very useful if AI ...
by Phil
Wed Jan 23, 2008 2:44 am
Forum: Common Problems
Topic: adding files to current JRE
Replies: 21
Views: 21941
 
Jump to post


.....
So, in order to do this you need a custom action. This custom action
does a registry enumeration search and finds the main JRE. The key name
gives the version number and it's value is the path. The two are
returned into two properties.

You then enter the name of the version property in the ...
by Phil
Fri Feb 02, 2007 12:32 am
Forum: Common Problems
Topic: How to consider multiple JRE prerequisites?
Replies: 1
Views: 3480
 
Jump to post

How to consider multiple JRE prerequisites?

Hi, I have Java 1.4.2 (minimum) as a prerequisite in my installer. So (if java is not installed or is below 1.4.2) the file j2re-1_4_2_12-windows-i586-p.exe (which sits alongside our installer) is installed.
We send out updates to our installer to various remote staff, who don't always have the ...
by Phil
Thu Nov 03, 2005 2:16 am
Forum: Common Problems
Topic: Changing 'Typical' install label?
Replies: 1
Views: 3372
 
Jump to post

Changing 'Typical' install label?

Hi, I was wondering if the text in the 'Setup Type' dialog can be changed.

Eg change the 'Typical' or 'Complete' labels to something else.

We have a client/server installer... the server (Complete option) is only used once, and the client multiple times (Typical install).
However our helpdesk is ...
by Phil
Thu Sep 22, 2005 11:50 am
Forum: Common Problems
Topic: How to get target drive?
Replies: 6
Views: 8274
 
Jump to post

That worked great, thanks Mike
by Phil
Wed Sep 21, 2005 12:34 pm
Forum: Common Problems
Topic: How to get target drive?
Replies: 6
Views: 8274
 
Jump to post

The script side of it is not a problem. The problem now is I don't understand how to set a property in the installer with the result of the script.

What I've done: created a property called 'targetDrive' which I need to pass to a custom action (it could be C:, D:, E:, etc). Then in Custom Actions ...
by Phil
Wed Sep 21, 2005 2:04 am
Forum: Common Problems
Topic: How to get target drive?
Replies: 6
Views: 8274
 
Jump to post

Mike wrote:The TARGETDIR includes the information about the target drive. You could use a custom action to extract from that string the string that contains the drive letter.
Bugger.

How the heck do I do that? Do I need to do a sub-string some how??
by Phil
Tue Sep 20, 2005 10:17 am
Forum: Common Problems
Topic: How to get target drive?
Replies: 6
Views: 8274
 
Jump to post

How to get target drive?

Hi, simple question: I pass the TARGETDIR to a custom action ok. However I also need to pass the target drive. How can I get it?

I need to do this because the custom action I run is a batch file.... so I need to do something like:

E:
CD E:\MyApps\SomeDir

Thanks,
Phil
by Phil
Sun Sep 11, 2005 10:06 am
Forum: Common Problems
Topic: Change the arguments of shortcut based on product selection
Replies: 6
Views: 9562
 
Jump to post

Mike wrote:This feature will probably be included in the next release of Advanced Installer.
Sounds great, I look forward to it

Thanks
by Phil
Tue Sep 06, 2005 1:01 pm
Forum: Common Problems
Topic: Change the arguments of shortcut based on product selection
Replies: 6
Views: 9562
 
Jump to post

Advanced Installer names the feature as it follows:
- The first feature is named "MainFeature".
- The second feature is named "Feature".
- The third feature is named "Feature_1"
- The fourth feature is named "Feature_2" and so on.

So, for the second property the condition will be: (&Feature_1=3 ...
by Phil
Wed Aug 31, 2005 2:38 pm
Forum: Common Problems
Topic: Need to get user input
Replies: 11
Views: 17538
 
Jump to post

If it was a single file (the EXE) you could make it an "Attached custom action".
Ok, that is the answer then I'll make any of these applications exe's first with our normal exe wrapper (which I can integrate into ant). This'll simplify things; I haven't had much success with custom actions ...

Go to advanced search