GeeCON Prague 2014*
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


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!!!
 
GeeCON Prague 2014
 
subject: how to call a setup file from your java code