From: <pie...@us...> - 2008-01-03 15:51:23
|
Revision: 122 http://adchpp.svn.sourceforge.net/adchpp/?rev=122&view=rev Author: pietricica Date: 2008-01-03 07:51:09 -0800 (Thu, 03 Jan 2008) Log Message: ----------- fixed installer Modified Paths: -------------- adchpp/trunk/ADCHPP.nsi Modified: adchpp/trunk/ADCHPP.nsi =================================================================== --- adchpp/trunk/ADCHPP.nsi 2008-01-03 14:32:05 UTC (rev 121) +++ adchpp/trunk/ADCHPP.nsi 2008-01-03 15:51:09 UTC (rev 122) @@ -80,10 +80,6 @@ File "config\users.txt" SectionEnd -Section "Install as Service" SEC02 - Exec "$INSTDIR\adchppd.exe" -i adchppd -SectionEnd - Section -AdditionalIcons SetOutPath $INSTDIR WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}" @@ -92,6 +88,11 @@ CreateShortCut "$SMPROGRAMS\ADCH++\Uninstall.lnk" "$INSTDIR\uninst.exe" SectionEnd +Section -Service + MessageBox MB_ICONQUESTION|MB_YESNO "Do you wish to install ADCH++ as service ?" IDYES Service IDNO End + Service: Exec '"$INSTDIR\adchppd.exe" -i adchppd' + End: +SectionEnd Section -Post WriteUninstaller "$INSTDIR\uninst.exe" @@ -115,6 +116,11 @@ Abort FunctionEnd +Section -un.Service + Exec 'sc delete adchppd' + +SectionEnd + Section Uninstall Delete "$INSTDIR\${PRODUCT_NAME}.url" Delete "$INSTDIR\uninst.exe" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |