Archive: Script!


Script!
Hi!
I have problems with my Script!


Script:

; Kamosch-Installer
Name "KaMOSCH Reloaded"
OutFile "KamoschReloadedINSTALL.exe"
SetCompress lzma
InstallDir "$PROGRAMME\KamoschReloaded"
Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles
Section "KaMOSCH Reloaded"
SetOutPath $INSTDIR
File "Kamosch.exe"
WriteUninstaller "$INSTDIR\Kamosch Deinstallieren.exe"
CreateDirectory "$SMPROGRAMS\KamoschReloaded"
CreateShortCut "$SMPROGRAMS\KamoschReloaded\KamoschReloaded.lnk" "$INSTDIR\Kamosch.exe"
CreateShortCut "$SMPROGRAMS\KamoschReloaded\Uninstall KamoschReloaded.lnk" "$INSTDIR\Kamosch Deinstallieren.exe"
SectionEnd
Section "un.Uninstall"
Delete "$INSTDIR\Kamosch Deinstallieren.exe"
Delete "$INSTDIR\Kamosch.exe"
Delete "$SMPROGRAMS\Kamosch Reloaded\KamoschReloaded.lnk"
Delete "$SMPROGRAMS\KamoschReloaded\Uninstall KamoschReloaded.lnk" RMDir "$SMPROGRAMS\KamoschReloaded
SectionEnd



Now I try to compile!
I get this Error:

Invalid command: {\rtf1\ansi\ansicpg1252\deff0\deflang1031{\fonttbl{\f0\froman\fcharset0
Error in script "C:\Dokumente und Einstellungen\LukasundRita\Desktop\INSTALL\Kamosch.nsi" on line 1 -- aborting creation process


Use Notepad to edit your script and not WordPad. And of course an even better possibility would be using one of the available IDEs.