Are you blogging on PH? Get your free blog.

Java

Moderators: zibadian
Number of threads: 6978
Number of posts: 16861

This Forum Only
Post New Thread

Report
Access windows registry using Java 2SE Posted by SatanHardCoder on 19 Oct 2006 at 2:49 AM
I am developing a standalone application installer in java. I need to add the application title of each application being installed with my installer to the Add/Remove programs in windows control panel.
Please help me by,
1). Providing the registry keys i have to manipulate to register an application with the windows OS
2). How to access windows registry? What all packages i require? if i have to download any external packages, where can i download them? If possible with a code example

My environment:
----------------
Compiler : Java(TM) 2 SDK, Standard Edition Version 1.4.0
Editor : Notepad
OS : Microsoft Windows XP Professional

I am new to Java, just in my learning process and this project(installer) is very important for me.Thanks in advance for any one who could help me.

Hazem K Mammu
hazemkmammu@gmail.com
Report
Re: Access windows registry using Java 2SE Posted by zibadian on 19 Oct 2006 at 4:26 AM
: I am developing a standalone application installer in java. I need to add the application title of each application being installed with my installer to the Add/Remove programs in windows control panel.
: Please help me by,
: 1). Providing the registry keys i have to manipulate to register an application with the windows OS
: 2). How to access windows registry? What all packages i require? if i have to download any external packages, where can i download them? If possible with a code example
:
: My environment:
: ----------------
: Compiler : Java(TM) 2 SDK, Standard Edition Version 1.4.0
: Editor : Notepad
: OS : Microsoft Windows XP Professional
:
: I am new to Java, just in my learning process and this project(installer) is very important for me.Thanks in advance for any one who could help me.
:
: Hazem K Mammu
: hazemkmammu@gmail.com
:
1: One of these keys hold all the installed programs:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
For more info see the msdn or look at the previously installed programs.

2: See this site for tutorials/example codes/source codes: http://www.google.nl/search?q=windows+registry+java
Report
Thanks Posted by SatanHardCoder on 19 Oct 2006 at 6:33 PM
: : I am developing a standalone application installer in java. I need to add the application title of each application being installed with my installer to the Add/Remove programs in windows control panel.
: : Please help me by,
: : 1). Providing the registry keys i have to manipulate to register an application with the windows OS
: : 2). How to access windows registry? What all packages i require? if i have to download any external packages, where can i download them? If possible with a code example
: :
: : My environment:
: : ----------------
: : Compiler : Java(TM) 2 SDK, Standard Edition Version 1.4.0
: : Editor : Notepad
: : OS : Microsoft Windows XP Professional
: :
: : I am new to Java, just in my learning process and this project(installer) is very important for me.Thanks in advance for any one who could help me.
: :
: : Hazem K Mammu
: : hazemkmammu@gmail.com
: :
: 1: One of these keys hold all the installed programs:
: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache
: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
: For more info see the msdn or look at the previously installed programs.
:
: 2: See this site for tutorials/example codes/source codes: http://www.google.nl/search?q=windows+registry+java
:
Thanks, for the first time i got a response for my problem. I would need your help again. Thanks a lot anyway !



 
Popular resources and forums for programmers on Programmersheaven.com
Assembly, Basic, C, C#, C++, Delphi, Java, JavaScript, Pascal, Perl, PHP, Python, Ruby, Visual Basic
© Copyright 2009 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin. Read the latest words from the publisher here.
Be the first to sign up for Lars Hagelin’s In-depth Outsourcing Newsletter here.
bootstrapLabs Logo A bootstrapLabs project.