Skip to content
⌘ NSIS Forum Archive

Create a new Directory and Vista/Win7

2 posts

silencshadow#edited

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


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.
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


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