my dog learned polymorphism*
The moose likes Java in General and the fly likes how to call a setup file from your java code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to call a setup file from your java code" Watch "how to call a setup file from your java code" New topic
Author

how to call a setup file from your java code

reddy ajay
Greenhorn

Joined: Apr 21, 2011
Posts: 8
can you guys show me how i can call a setup file from my java code and then perform the normal installation in the installation directory which i choose from the GUI. i should then be able to normally start the program from the windows start tab.
reddy ajay
Greenhorn

Joined: Apr 21, 2011
Posts: 8
You can acutually call by accessing the command prompt and from there we can call the installer.
We can access the command prompt by,
Runtime.getRuntime.exec(echo password| sudo -S filepath -target)

Hoorah!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to call a setup file from your java code
 
Similar Threads
java security
abt path, classpath, and system DSN
java communication port problem
isAlive returns false, but thread start throws java.lang.IllegalThreadStateException
JFreeChart installation problem