
Copy Files from Install CD to INSTALLDIR
Posted 31 July 2001 - 00:05
Posted 31 July 2001 - 01:24
Posted 31 July 2001 - 18:19
For my new component the default condition setting was blank, I have tried entering “0 condition(s) and this makes no difference. Every thing else about this project installs and runs fine, just can’t move the 2 .dat files in Win2K or NT.
Posted 31 July 2001 - 20:24
Check the Product Properties in the General Information setup. Did you setup the install condition correctly? In my setup, I have zero conditions in this field.
I resolve which files get installed in the features -condition settings.
I separate and group all the OS dependent files into features and put my conditions there. For the Windows 98 features, I put the condition Version9X. For Windows 2000 features, I put the condition VersionNT >= 500. And finally, for Windows NT features, I put the condition WindowsNT.
Additionally, check for caps. I got caught with this one once. Instead of VersionNT>=500 in the Windows 2000 features, I accidentally typed versionNT>=500. Drives me nuts sometimes.
Hope this helps,
80LPJ
ISWI User
Posted 01 August 2001 - 00:32
Product Properties in the General Information setup have 0 condition(s)
There are no files in my build that are OS dependent; all of the condition settings show zero conditions also.
Thanks for the caps reminder I’ve been caught with that one before also. Can’t find an error with these 2 MoveFile features though.
I have also tried setting the condition for the file component to;
Version9X OR VersionNT >=500 OR WindowsNT
The install still works fine with Win9X but the .dat files do not get moved in NT or 2K.
I’m using ISWI 1.52 with maintenace release 8-8-2000 if that provides a clue.
Posted 01 August 2001 - 17:25
FileKey (S32)
1st component: Copy CD-SYS1.DAT
2nd Component: Copy PFWS9999.DAT
Component_(S32)
1st: Move_CD_SYS1
2nd: Move_PFWS9999
SourceName (S255)
1st: CD-SYS1.DAT
2nd: PFWS9999.DAT
DestName (S255)
1st: CD-SYS1.DAT
2nd: PFWS9999.DAT
SourceFolder (S32)
1st: SourceDir
2nd: SourceDir
DestFolder (S32)
1st: INSTALLDIR
2nd: INSTALLDIR
Options (I2)
1st: 0
2nd: 0
Posted 01 August 2001 - 21:27
Posted 01 August 2001 - 22:50
I renamed FileKey as follows;
CD_SYS1.DAT
and
PFWS9999.DAT respectively. The install still suceeds with Win9X but the files do not get copied in WinNT or 2K.
Posted 02 August 2001 - 22:30
I have also tried deleting the components we are working with and setting them up again. Still not copying.
Posted 02 August 2001 - 23:10
Can you provide any useful information about talking to Installshield Corp. About an issue like this?
Posted 19 August 2001 - 19:20
1) Create a custom action without using the wizard. Use the following values for the properties of the action:
Type: 38
Source:
Target: Session.Property("MYPROPERTY") = Session.Property("SourceDir")
Set the name for the custom action using all caps, in this case we just used “MYPROPERTY”.
2) Insert this custom action into the Sequences table – Installation folder – User Interface after CostFinalize. Make sure that you also have the ResolveSource property before the “MYPROPERTY” custom action.
3) In the Power Editor MoveFile Table for the SourceFolder use this property “MYPROPERTY” instead of SourceDir.