- NSIS Discussion
- flizebogen
Archive: flizebogen
matze84
20th October 2004 12:41 UTC
flizebogen
hy, also deinem namen nach sprichst du deutsch, stimmts? Vielleicht kannst du mir ja dann besser helfen: Ich habe in meinem Skript das Attriubt AutoClosWindow aud true gesetzt, und der Installer wird acuh automatisch beendet, aber wie ist das mit dem UNinstaller? Der wird nich automatisch geschlossen... Und meine Verknüpfungen im Startmenu werden vom UNinstallr auch nich gelöscht... kannst mir auch mailen <mailto:jjaysz@uboot.com>
danke schonmal im vorraus
gruss matze
SmilingBandit
20th October 2004 14:56 UTC
use the SetAutoClose true option in your uninstaller
Joel
20th October 2004 14:57 UTC
Sie können eine Übersetzung zu Englisch setzen, also können Sie Hilfe schneller erhalten.
You can put a translation to english, so you can get help more quickly.
:)
matze84
20th October 2004 15:22 UTC
Lobo Lunar
Sie können eine Übersetzung zu Englisch setzen, also können Sie Hilfe schneller erhalten.
You can put a translation to english, so you can get help more quickly.
:)
yeh, but my english is not very good (see :) ) so I thought that i'll not understand the answers. but thx for reply ;D
SmilingBandit
use the SetAutoClose true option in your uninstaller
THANX!!! That's what a meant!!
____________________________
Can anybody explain me, why the shortcuts doesn't be removed
;UNINSTALL
Section "un.App"
SetAutoClose true
RMDir /r "$INSTDIR"
RMDir /REBOOTOK "$INSTDIR"
Delete "$SMPROGRAMS\test\App.ink"
Delete /REBOOTOK \
"$SMPROGRAMS\test\App.ink"
RMDir /r "$SMPROGRAMS\test\\
Uninstall\*.*"
RMDir /REBOOTOK "$SMPROGRAMS\test\\
Uninstall\*.*"
SectionEnd
Joel
20th October 2004 15:32 UTC
For that I do things like this:
Section Unistaller
Delete $SMPROGRAMS\app\*.*
RMDir $SMPROGRAMS\app
SectionEnd
Also remember that you are using the flag "/REBOOTOK".... :)
matze84
20th October 2004 15:41 UTC
but if this dir has subdirectories i've to use /r ?
/REBOOTOK i only uses to make sure that the files will be finally removed (i.e. if there an open connection to one of these files which could not be terminated)
i try your suggestion and post here the result :) laterz
matze84
20th October 2004 16:07 UTC
ok the prob was that i've try to delete directories and RMDir files :oops:
PLEASE kann anybody write a PM to kichik (Moderator)...
I'm not only a guast... i've registered myself and i can login with my password but i can't write posts (like an registered user) or send PMs..
thx
matze
Joel
20th October 2004 16:17 UTC
Did you to your email and check for the validation URL?
matze84
20th October 2004 16:27 UTC
[i]and check for the validation URL? [/B]
i didn't get such a URL
matze84
20th October 2004 16:45 UTC
ok, now i've found the prob with my delete...
i think delete can't delete .ink....
Name "test"
OutFile "test.exe"
ShowInstDetails show
Section ""
SetOutPath "$SMPROGRAMS\test"
File test.exe
Delete "$SMPROGRAMS\test\existent.ink"
Delete "$SMPROGRAMS\test\test.exe"
SectionEnd
The executable file will be removed and in the instDetails appears the message "Delete file: ...\Startmenü\Programme\test\test.exe"
is it a bug??
pengyou
20th October 2004 17:50 UTC
The file extension for a shortcut is LNK not INK
deguix
20th October 2004 19:42 UTC
Hmmm... it seems that older posts are confusing people. Maybe forums information should be organized someway... Archive, I think, helps for now. (relating to .ink issue)
matze84
21st October 2004 11:15 UTC
Originally posted by pengyou
The file extension for a shortcut is LNK not INK
NSIS Help:
4.9.3.4 CreateShortCut
link.lnk target.file [parameters [icon.file [icon_index_number [start_options [keyboard_shortcut [description]]]]]]
Creates a shortcut 'link.lnk' that links to 'target.file', ...
in the font tpy of the NSIShelp the 'L' looks like an 'I' - sorry
kichik
21st October 2004 17:43 UTC
Originally posted by matze84
PLEASE kann anybody write a PM to kichik (Moderator)...
I'm not only a guast... i've registered myself and i can login with my password but i can't write posts (like an registered user) or send PMs..
The server couldn't send e-mails for a couple of days, so your confirmation message didn't arrive. Post your user name and I'll send it again.