This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to call a setup file from your java code

 
reddy ajay
Greenhorn
Posts: 8
  • 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
  • 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!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic