Search found 9 matches

Go to advanced search

by macinta
Thu Jun 28, 2007 2:43 pm
Forum: Common Problems
Topic: Java launcher can't write to system wide preferences (Vista)
Replies: 5
Views: 7811
 
Jump to post

In case anybody runs into this same problem, I submitted a bug report to Sun and they have accepted it:

http://bugs.sun.com/bugdatabase/view_bu ... id=6572807

- Tim Macinta
by macinta
Thu Jun 21, 2007 4:00 pm
Forum: Common Problems
Topic: Java launcher can't write to system wide preferences (Vista)
Replies: 5
Views: 7811
 
Jump to post

Hi Gigi,

Ah, you're right - this seems to be a problem with Java, then. It shouldn't be trying to write to a "sensitive" area for what I'm trying to do. I'm simply trying to save some settings for my applications which all users will share, and the Java Preferences API is responsible for ...
by macinta
Wed Jun 20, 2007 5:43 pm
Forum: Common Problems
Topic: Java launcher can't write to system wide preferences (Vista)
Replies: 5
Views: 7811
 
Jump to post

Hi Gigi,

It doesn't require administrator privileges when run without the launcher - that's the problem. Java has no problem writing to the global preferences when I double click the Jar file or run the program from the command line using "java.exe", and this is true regardless of whether the user ...
by macinta
Tue Jun 19, 2007 10:14 pm
Forum: Common Problems
Topic: Java launcher can't write to system wide preferences (Vista)
Replies: 5
Views: 7811
 
Jump to post

Java launcher can't write to system wide preferences (Vista)

Hello,

I have a Java program which needs to write to the system wide preferences via Preferences.systemRoot(). It works correctly when run by double clicking the Jar file but it fails with a BackingStoreException when run using the launcher created by Advanced Installer, I believe because it is ...
by macinta
Thu Jun 14, 2007 5:36 pm
Forum: Common Problems
Topic: Java launcher in Vista runs app as XP, breaking JFileChooser
Replies: 2
Views: 3934
 
Jump to post

Hi Gigi,

I figured out the problem, and it's not with the launcher - sorry to have bothered you. I'll explain what the problem was in case you have other customers with similar issues in the future.

At some point I must have installed an application which Vista decided needed to be run in XP ...
by macinta
Thu Jun 14, 2007 4:33 am
Forum: Common Problems
Topic: Java launcher in Vista runs app as XP, breaking JFileChooser
Replies: 2
Views: 3934
 
Jump to post

Java launcher in Vista runs app as XP, breaking JFileChooser

Hello,

I am encountering bugs when running my application using the Java launcher, I think because Vista is running the launcher in XP compatibility mode and the JRE doesn't function properly in that scenario. I discovered the problem because my application opens a JFileChooser when the user ...
by macinta
Mon Jun 11, 2007 5:36 pm
Forum: Common Problems
Topic: Custom action command line arguments split incorrectly?
Replies: 4
Views: 6600
 
Jump to post

Gigi,

Thanks, that did the trick.

- Tim Macinta
by macinta
Fri Jun 08, 2007 4:18 pm
Forum: Common Problems
Topic: Custom action command line arguments split incorrectly?
Replies: 4
Views: 6600
 
Jump to post

Gigi,

Thanks, that certainly explains things. Also, thank you for the fast reply.

I tried your fix but when I ran the package and it got to the inline script, I got the following error dialog:



There is a problem with this Windows Installer package.
A script required for this install to ...
by macinta
Thu Jun 07, 2007 9:48 pm
Forum: Common Problems
Topic: Custom action command line arguments split incorrectly?
Replies: 4
Views: 6600
 
Jump to post

Custom action command line arguments split incorrectly?

Hello,

I'm evaluating Advanced Installer for use in packaging a Java product and I'm having problems getting it to pass multiple command line arguments to a custom action. I have a Jar file that I want to run as a custom action at Commit time and I want to be able to pass some things to it on the ...

Go to advanced search