I have a problem where I need to lay down a 64 bit JDK with my installation. I do not need to register any of the files, literally just lay them down but unfortunately InstallShield is being too clever and errors for various reasons building.
As a result I want to just zip the files and then call an unzip at install time.
I have written a dll with a UnZip functionality but I'm not sure how to call it from a custom action. I guess I'll have to install the zipfile, call the unzip and then remove the zipfile again. Thing is I see that the 'InstallFiles' custom action comes after the RemoveFiles Custom action.
So:
1. Can I call the unzip on the zip file without installing it?
2. If not how can I remove it safely after it's been unzipped?
3. Can i get InstallShield to not error on building (the errors were on depricated calls and so I dusabled those ICE's in the Merge Module build but the installer then barfed saying the following for lots of files:
"ISDEV : error -6636: The file key dawson.76E22230_EB26_4D0A_B424_F9BEC39EDE98 and dawson.76E22230_EB26_4D0A_B424_F9BEC39EDE98 are found in the File table. Despite having different cases, the identical key names will cause an unexpected result when the files are installed on the target system. This occurs because the compressed files in the cabinet file are named using the file keys. To correct this issue, change one of the file keys to be unique in the cabinet file if you are building a compressed setup or a merge module. You can change the file key name in the Direct Editor view."
Does anyone know a good way to get around this problem (I have thought about making a self-extracting zip) and just calling that - again how would I add it to a component and not install it - also I'm worried about running an Exe from the installer on Windows 8.
Any help would be greatly accepted!
As a result I want to just zip the files and then call an unzip at install time.
I have written a dll with a UnZip functionality but I'm not sure how to call it from a custom action. I guess I'll have to install the zipfile, call the unzip and then remove the zipfile again. Thing is I see that the 'InstallFiles' custom action comes after the RemoveFiles Custom action.
So:
1. Can I call the unzip on the zip file without installing it?
2. If not how can I remove it safely after it's been unzipped?
3. Can i get InstallShield to not error on building (the errors were on depricated calls and so I dusabled those ICE's in the Merge Module build but the installer then barfed saying the following for lots of files:
"ISDEV : error -6636: The file key dawson.76E22230_EB26_4D0A_B424_F9BEC39EDE98 and dawson.76E22230_EB26_4D0A_B424_F9BEC39EDE98 are found in the File table. Despite having different cases, the identical key names will cause an unexpected result when the files are installed on the target system. This occurs because the compressed files in the cabinet file are named using the file keys. To correct this issue, change one of the file keys to be unique in the cabinet file if you are building a compressed setup or a merge module. You can change the file key name in the Direct Editor view."
Does anyone know a good way to get around this problem (I have thought about making a self-extracting zip) and just calling that - again how would I add it to a component and not install it - also I'm worried about running an Exe from the installer on Windows 8.
Any help would be greatly accepted!