User talk:Afrow UK: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Forgot the header.) |
|||
Line 10: | Line 10: | ||
-- [[User:Deguix|deguix]] 09:08, 13 Jul 2005 (PDT) | -- [[User:Deguix|deguix]] 09:08, 13 Jul 2005 (PDT) | ||
Hi there! | |||
The script does not remove the uninstaller itself, shouldn't the macro ${WriteUninstaller} take into an account OUTDIR when writing to a file? | |||
; WriteUninstaller macro | |||
!macro WriteUninstaller Path | |||
WriteUninstaller "${Path}" | |||
FileWrite $UninstLog "$OUTDIR\${Path}$\r$\n" | |||
!macroend | |||
!define WriteUninstaller "!insertmacro WriteUninstaller" |
Revision as of 08:50, 19 December 2007
Re: Deleting older file versions
You shouldn't use multiple names for files just because versions change. Instead, follow the two rules for the wiki on Help:Tips_&_Rules#Files. I might not be forcing it now, but it makes the wiki more organized.
"Hi deguix. After uploading a new file, how do I delete its older version uploaded earlier. I've got three versions of a plugin uploaded, and the two older ones could be deleted now. Afrow UK"
Thx. I'll delete them.
-- deguix 09:08, 13 Jul 2005 (PDT) Hi there! The script does not remove the uninstaller itself, shouldn't the macro ${WriteUninstaller} take into an account OUTDIR when writing to a file?
- WriteUninstaller macro
!macro WriteUninstaller Path
WriteUninstaller "${Path}" FileWrite $UninstLog "$OUTDIR\${Path}$\r$\n"
!macroend !define WriteUninstaller "!insertmacro WriteUninstaller"