Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Create a new Directory and Vista/Win7 (http://forums.winamp.com/showthread.php?t=316894)

silencshadow 8th February 2010 18:36

Create a new Directory and Vista/Win7
 
Hey guys,
how i can create a new Folder? like C:\
new folder -> gfx in gfx -> xetu in xetu -> emoticons ...


C:\gfx\xetu\emoticons .....

and how i can execute the permission lvl for the Vista UAC and automatic start in admin mode???

I need anything to know about Win7?? because of a permission ?




Quote:

;_________________________________________________________________

Section "Xetu-Hosting Icon Pack" IconPack


${If} ${FileExists} "XetuStyle-$date2file.zip"

Delete "$INSTDIR\gfx\Xetu\*"

RMDir "$INSTDIR\gfx\Xetu"

${Else}
${EndIf}


nsisunz::UnzipToLog "$INSTDIR\iconpack.zip" "$INSTDIR"

SectionEnd
I want that this get preuninstalled if a specified file exist ... how i can solve this? the if not work but i not know why ....

MSG 8th February 2010 20:30

Re: Create a new Directory and Vista/Win7
 
Please read the manual and search these forums (and google) before asking questions here. (It might prevent you from making yourself look silly by asking the complete and utter obvious.)

Quote:

how i can create a new Folder?
Is right there in the manual. Read.
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.1.9

Quote:

and how i can execute the permission lvl for the Vista UAC and automatic start in admin mode???
Has been asked hundreds of times before. Search.
http://forums.winamp.com/showthread....hreadid=316414

Quote:

the if not work but i not know why ....
You need to supply the full path to ${FileExists}.


All times are GMT. The time now is 04:27.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.