Archive: Create a new Directory and Vista/Win7


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 ?




;_________________________________________________________________

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

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

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

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

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