File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to call a setup file from your java code

 
reddy ajay
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic