Inno Setup: Do not install subfolder if it exists already


Greenman
26/4/2016 6:52 am
HOME » Web Development

I am trying to package everything in C:AppWeb* into an installer.

If the database sub-folder mysqldata exists, then I do not want to replace these files.

This is my Inno Setup script:

[Files]
Source: "C:AppWebxampp-control.exe"; DestDir: "{app}"; Flags:    
ignoreversion
Source: "C:AppWeb*"; DestDir: "{app}"; Flags: ignoreversion
recursesubdirs createallsubdirs
Source: "C:AppWeb*"; DestDir: "{app}"; Excludes: "C:AppWebmysqldata*";
Flags: ignoreversion recursesubdirs createallsubdirs; Check:
DirExists(ExpandConstant('{app}mysqldata*'))

The files in mysqldata still get replaced.

I want the installer to avoid overwriting the data folder if the application is already installed (i.e. performing an upgrade).


Related to : Inno Setup: Do not install subfolder if it exists already
Inno Setup: Do not install subfolder if it exists already
26/4/2016 6:52 am Web Development

I am trying to package everything in C:AppWeb* into an installer.

If the database sub-folder mysqldata exists, then I do not want to replace these files.

This is my Inno Setup script:

[Files]
Source: "C:AppWebxampp-control.exe"; DestDir: "{app}"; Flags:    
ignoreversion
Source: "C:AppWeb*"; DestDir: "{app}"; Flags: ignoreversion
recursesubdirs createallsubdirs
Source: "C:AppWeb*"; DestDir: "{app}"; Excludes: "C:AppWebmysqldata*";
Flags: ignoreversion recursesubdirs createallsubdirs; Check:
DirExists(ExpandConstant('{app}mysqldata*'))

The files in mysqldata still get replaced.

I want the installer to avoid overwriting the data folder if the application is already installed (i.e. performing an upgrade).


Can Inno-setup install setup a windows security group?
16/1/2015 9:00 pm Web Development

How can set up a windows security group as part of a Inno setup install?

I can't seem to think of the right text to google to figure it out. Perhaps a hint at what to search for would be enough.


Inno Setup: How do i see the output (translation) of the Inno Setup Preprocessor?
Web Development

I have an Inno Setup script with preprocessor directives (#defines, #ifs, etc.)


I want to run the Inno Setup preprocess on my script and see the preprocessor's output (translation in Inno-Setup-speak). That is, I want to look at the result of the preprocessor which it normally feeds into the Inno Setup Compiler, where all the references to {#something} are changed into whatever something was defined as


I look at the command line options (of iscc.exe) and #pragma directives and did not find what im looking for. I see that i can specify not to run the compiler (#pragma -c- | /$c-) but i did not find a way to look

How to write install path to registry after install is complete with Inno setup
Web Development

How to write install path to registry after install is complete with Inno setup?


Thanks in advance!




HD Wallpapers
3D
3D Abstract
City
Celebrities
Indian Celebrities
Cars
Travel
Girls
Animals Birds
Movies
Sports
Black White
Nature
Planes
Anime
Food Drink
Dreamy Fantasy
Architecture
Games
Space
Holidays
Flowers
Love
Artistic
Baby
Beach
Bikes Motorcycles
Macro
Computers
Vector
Funny
Army
Textures
Brands
Misc
Music
Other
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .