User talk:Afrow UK: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 18: Line 18:
<nowiki>!macroend</nowiki><br/>
<nowiki>!macroend</nowiki><br/>
<nowiki>!define WriteUninstaller "!insertmacro WriteUninstaller"</nowiki>
<nowiki>!define WriteUninstaller "!insertmacro WriteUninstaller"</nowiki>
== Silent install ==
The password dialogues can easily be bypassed with /S switch (used for silent install).
Please suggest any fix / woraround for it.

Revision as of 10:54, 29 January 2009

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"

Silent install

The password dialogues can easily be bypassed with /S switch (used for silent install).

Please suggest any fix / woraround for it.