cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
alancc
Level 6

JavaScript cannot be runed properly?

Hi,

I try to add a custom action for Uninstallation, before "System Changes". The custom action is a javascript which will open a window, as below:

window.open("https://www.example.com/", "_blank");

However, when I try to uninstall the program, I get an error said "Microsoft JScript Runtime Error, 'window' is not defined. Why?

Labels (1)
0 Kudos
(0) Replies