summaryrefslogtreecommitdiffstats
path: root/ds9/win/install.vbs
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/win/install.vbs')
-rw-r--r--ds9/win/install.vbs15
1 files changed, 15 insertions, 0 deletions
diff --git a/ds9/win/install.vbs b/ds9/win/install.vbs
new file mode 100644
index 0000000..7223ce0
--- /dev/null
+++ b/ds9/win/install.vbs
@@ -0,0 +1,15 @@
+'
+' Copy to destination
+'
+'dim fso
+'set fso = CreateObject("Scripting.FileSystemObject")
+'fso.CopyFolder "..\WZSE0.TMP","c:\ds9",True
+'
+' Create a ds9 shortcut on the Desktop
+'
+set WshShell = CreateObject("WScript.Shell")
+strDesktop = WshShell.SpecialFolders("Desktop")
+set oMyShortCut= WshShell.CreateShortcut(strDesktop+"\SAOImage DS9.lnk")
+oMyShortCut.WindowStyle = 7
+oMyShortCut.TargetPath = "c:\ds9\ds9.exe"
+oMyShortCut.Save