install
来自「hl2 source code. Do not use it illegal.」· 代码 · 共 30 行
TXT
30 行
# Note: dont forget the ;
# 6 essential lines
Title ("Half-Life Model Viewer v1.21 for Win9x/NT");
NumFiles (5);
RootDirectory ("\Half-Life Model Viewer");
TargetDirectory ("%p%r");
Registry (2, "Software\Microsoft\Windows\CurrentVersion\Uninstall\Half-Life Model Viewer", "DisplayName", "Half-Life Model Viewer");
Registry (2, "Software\Microsoft\Windows\CurrentVersion\Uninstall\Half-Life Model Viewer", "UninstallString", "%t\uninstaller.exe");
# optional
MakeDirectory ("%t");
MoveFile ("readme.txt", "%t\readme.txt");
MoveFile ("hlmv.exe", "%t\hlmv.exe");
MoveFile ("hlmv_sm.exe", "%t\hlmv_sm.exe");
MoveFile ("hlmv.fa", "%t\hlmv.fa");
MoveFile ("hlmv.rf", "%t\hlmv.rf");
MoveFile ("3dfxgl.dll", "%t\3dfxgl.dll");
Ask ("Do you want to create shortcuts in the startmenu?");
StartMenu ("%t\readme.txt", "Half-Life Model Viewer", "Half-Life Model Viewer - Readme");
StartMenu ("%t\hlmv.exe", "Half-Life Model Viewer", "Half-Life Model Viewer");
StartMenu ("%t\hlmv_sm.exe", "Half-Life Model Viewer", "Half-Life Model Viewer - Safe Mode");
StartMenu ("%t\uninstaller.exe", "Half-Life Model Viewer", "Uninstall Half-Life Model Viewer");
EndAsk ();
# Message ("Congratulations! Installation complete.");
# 1 last essential line
MoveFile ("uninstaller.exe", "%t\uninstaller.exe");
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?