Archive: Small error


Small error
I get this error when trying to compile, I attached my install file and I would appreciate any help.

File: "weapon_xm1014.txt" [compress] 203/616 bytes
File: Returning to: "C:\Documents and Settings\Michael\My Documents\Web Pages\Projects\Installers\Mechy's CS Upgrade Pack\full files\counter-strike"
WriteRegStr: HKCU\$PROGRAMFILES\Steam\SteamApps\=$INSTDIR
WriteUninstaller: "$INSTDIR\Uninstall the MCSUP.exe"
SectionEnd
!insertmacro: MUI_STARTMENU_WRITE_BEGIN
Error: command StrCpy not valid outside section or function
Error in macro MUI_STARTMENU_WRITE_BEGIN on macroline 7
Error in script "C:\Documents and Settings\Michael\My Documents\Web Pages\Projects\Installers\Mechy's CS Upgrade Pack\Mechy's CS Upgrade Pack 3.6 Full.nsi" on line 68 -- aborting creation process


"!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
;Create shortcuts
CreateDirectory "$SMPROGRAMS\HQubed\Mechy's CS Upgrade Pack 3.5"
CreateShortCut "$SMPROGRAMS\HQubed\Mechy's CS Upgrade Pack 3.5\Uninstall.lnk" "$INSTDIR\Uninstall the MCSUP.exe"

!insertmacro MUI_STARTMENU_WRITE_END"

Those lines are not within a function or section.
You closed the section just before it on line67 or so.


yep.
there's a "Section" missing at line 67.


Thanks alot guys, its working great now :)