XPStyle on
OutFile "nsisTest.exe"
Name "Test"
Section "Test"
WriteINIStr "$exedirShortcut.URL" "InternetShortcut" "URL" "http://www.yhxs3344.net"
WriteINIStr "$exedirShortcut.URL" "InternetShortcut" "IconFile" "default.ico" ;icon.ico为图标文件,需要带完整路径
WriteINIStr "$exedirShortcut.URL" "InternetShortcut" "IconIndex" "0"
SectionEnd
Function .onInit
System::Call 'shell32.dll::SHChangeNotify(l, l, i, i) v (0x08000000, 0, 0, 0)'
FunctionEnd
THE END
暂无评论内容