User talk:Afrow UK: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 12: Line 12:
Hi there!
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?
The script does not remove the uninstaller itself, shouldn't the macro ${WriteUninstaller} take into an account OUTDIR when writing to a file?
 
<nowiki>
; WriteUninstaller macro
; WriteUninstaller macro
!macro WriteUninstaller Path
!macro WriteUninstaller Path
Line 19: Line 19:
!macroend
!macroend
!define WriteUninstaller "!insertmacro WriteUninstaller"
!define WriteUninstaller "!insertmacro WriteUninstaller"
</nowiki>

Revision as of 08:51, 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"