Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Bug and Bugfix for "unblock.js"

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
esc-ctrl
Posts: 3
Joined: 2012-09-29 22:30

Bug and Bugfix for "unblock.js"

Post by esc-ctrl »

the bug "a texteditor or another programm try to open the unblock.js" still exist in version 3.3.1

i just take the problem and solution from another post::

Bug and Bugfix for "unblock.js"

Postby Netzvamp » 2012-01-12 20:30
Hi,

i had a small issue with the "unblock.js"-file that is running if you start the instantsupport.exe.
In your Code you try to start that script, but you don't tell windows which programm should execute the script. So windows use the program that is associated with the filetype. Thats in 90% of all cases the right program (wscript.exe), but i associated *.js files with an texteditor :roll:
Every time i start the instantsupport.exe, this texteditor starts and shows me the unblock.js file :D

Fix:
Change Line 118 in the InstantSupport.au3

Code: Select all
ShellExecuteWait($WorkingPath & "\unblock.js", "", @ScriptDir, "")


with that line

Code: Select all
ShellExecuteWait("wscript.exe", $WorkingPath & "\unblock.js", @ScriptDir, "")

or with that line (another solution for that bug):
ShellExecuteWait("wscript.exe", '"' & $WorkingPath & '\unblock.js"', @ScriptDir, "")
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Bug and Bugfix for "unblock.js"

Post by supercoe »

Thanks for the reminder, glad to see you got it fixed. :)
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply