cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Flexera beginner

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)
Tags (2)
0 Kudos