|
|
#1 |
|
Junior Member
Join Date: Jun 2007
Location: Indianapolis, IN
Posts: 3
|
Running JS on a webpage
Part of my installer needs to include installing other software from the web. I have a command to open IE and go to my desired webpage. After the webpage initializes it has an install button that needs to be pushed before the installation will proceed. Is there a way in NSIS to command this button push? If I hold my mouse over the button it says javascript:startInstall(), don't know if that helps.
Thanks, |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Simplest option would be to include a GET query which when visited simply runs your JS function when loading has completed.
Stu |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2007
Location: Indianapolis, IN
Posts: 3
|
thanks for the help. I am a little confused about the "GET query". Is this a built-in command?
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
No, you need a web executable (PHP/ASP/JSP) that when given a specific GET query (such as page.php?install=1) shows a different page (or performs a specific task such as run your JS function). This is not an NSIS specific task at all.
Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|