aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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
abt path, classpath, and system DSN
java communication port problem
JFreeChart installation problem
isAlive returns false, but thread start throws java.lang.IllegalThreadStateException
java security