Archive: flizebogen


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


use the SetAutoClose true option in your uninstaller


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.

:)


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

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".... :)

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


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


Did you to your email and check for the validation URL?


[i]and check for the validation URL? [/B]
i didn't get such a URL

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??

The file extension for a shortcut is LNK not INK


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)


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

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.