|
-
Mar 31st, 2008, 06:55 PM
#1
Thread Starter
Addicted Member
Copy folder in Inno Setup
Hi,
Just a quick one, is it possible to copy a folder in Inno setup?. I'm trying to figure out how I could copy a folder from my source directory to the C:\Program Files
I know that I can create a directory in ISTool and just copy all the files to that if thats the only way forward.
It would just be handy if I could use some sort of copy feature?. Because I also have a few folders in program files that I would like to make shortcuts for on the desktop. (The folders are not generated by my program, just folders that are already in program files by default)
Any ideaS?
thanks
-
Apr 1st, 2008, 04:27 AM
#2
Re: Copy folder in Inno Setup
Something like this:
Source: E:\Server Data\Randem\Develop\**********\Sample\*.*; DestDir: {app}\Sample; Flags: ignoreversion recursesubdirs
-
Apr 1st, 2008, 06:32 AM
#3
Thread Starter
Addicted Member
Re: Copy folder in Inno Setup
Thanks I will give that a shot.
I've got one other question. I'm trying to copy an exe to desktop as a shortcut from a source but for some reason it just copys the exe itself.
Can't figure out how I could copy the exe as a shortcut to the desktop?
Any ideaS?
thanks alot
-
Apr 1st, 2008, 02:14 PM
#4
Re: Copy folder in Inno Setup
Something like this:
The desktop icon:
Name: {commondesktop}\**********; Filename: {app}\**********.exe; WorkingDir: {app}
and the Quick Launch Icon:
Name: {commonappdata}\Microsoft\Internet Explorer\Quick Launch\********** ; Filename: {app}\**********.exe; WorkingDir: {app};
-
Dec 18th, 2009, 12:15 AM
#5
New Member
Re: Copy folder in Inno Setup
 Originally Posted by randem
Something like this:
Source: E:\Server Data\Randem\Develop\**********\Sample\*.*; DestDir: {app}\Sample; Flags: ignoreversion recursesubdirs
WOW! I must say that easily saved me a few hours of work, THANK YOU!
-
Nov 21st, 2011, 12:08 PM
#6
New Member
Re: Copy folder in Inno Setup
What if I need to create a directory other than Program Files?
In other words, I want:
create my application installation directory in Program Files and also create a directory in ProgramData/myCompany/AppName and copy a file there.
How exactly should I go with that?
Thanks a lot in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|