This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Getting file information
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 22, 2009
04:13 PM
Getting file information
Hi,
I have an old setup that was done with WiseInstall.
The way it works is:
1. I have a setup package that installs all the application files into a shared folder. This folder contains all the app files as well as any other shared files used by the application. This file is deployed every time there's an update and the application files are overwritten to the latest ones.
2. I have another setup package that exists in the shared folder (installed by the 1st setup) that does the following:
-Checks the files on the shared folder and compares them locally to see if they are the same version/date time. If not, it copies All the files from the shared folder locally to each workstation. At the end, it launches the application locally. This file exists to ease deploying upgrades as the workstations update themselves just by running the app.
I can create the first setup package easily using installshield using the msi setup type.
I am having some troubles, however, duplicating the executable setup.
I know I have to use the installscript project and I will remove almost all of the dialogs as they are not needed. I need to know whether I can accomplish the following:
-Obtain a list of files from a specific location (shared folder)
-Compare file version/datetime between 2 files (shared folder and the targetdir)
Or maybe there's a better way that I am unaware of as I have just started using InstallShield.
Thank You in advance,
I have an old setup that was done with WiseInstall.
The way it works is:
1. I have a setup package that installs all the application files into a shared folder. This folder contains all the app files as well as any other shared files used by the application. This file is deployed every time there's an update and the application files are overwritten to the latest ones.
2. I have another setup package that exists in the shared folder (installed by the 1st setup) that does the following:
-Checks the files on the shared folder and compares them locally to see if they are the same version/date time. If not, it copies All the files from the shared folder locally to each workstation. At the end, it launches the application locally. This file exists to ease deploying upgrades as the workstations update themselves just by running the app.
I can create the first setup package easily using installshield using the msi setup type.
I am having some troubles, however, duplicating the executable setup.
I know I have to use the installscript project and I will remove almost all of the dialogs as they are not needed. I need to know whether I can accomplish the following:
-Obtain a list of files from a specific location (shared folder)
-Compare file version/datetime between 2 files (shared folder and the targetdir)
Or maybe there's a better way that I am unaware of as I have just started using InstallShield.
Thank You in advance,
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 05, 2010
02:46 AM
You can get list of files in a folder using FindAllFiles() with CONTINUE option. Give *.* as filename.
Files from two folders can be compared using FileCompare(), based on date and version.
Files from two folders can be compared using FileCompare(), based on date and version.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)