This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to call a setup file from your java code
 
It's not a secret anymore!