Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
InnoSetup questions
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01417881
Message ID:
01417940
Views:
68
>What are some good resources for getting an Innosetup script written?
>
>What I need to do is install an EXE, maybe a library or two, the VFP runtimes. That's about it. However, I have a DATA folder that needs to be on the CD separately (not compiled into the setup program). It is placed on the CD separately by my client right before distribution so that the latest data is available. Then it is just copied to the app folder at installation ("Program Files\CompanyName\AppName\Data" - though it will be actually be another place to avoid issues with Vista not letting you write to files in the Program Files folder).
>
>The script should not be too complex. I just need to get over some of the basic hurdles and I need to figure out how to handle the DATA folder so that it's not compiled into the setup program.
>
>Thanks,
>
>Russell Campbell

Hi Russell

Can you use the external flag for this in the [Files] section, my actual code for such files placed outside of the installer
;only if they are present in the others folder under the projectcode eg. C99
Source: {src}\..\..\..\Others\{#VSOProjCode}\*.*; DestDir: {app}; Flags: external skipifsourcedoesntexist sortfilesbyextension touch overwritereadonly ignoreversion recursesubdirs replacesameversion
Hope this helps.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform