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
- :
- ICE48 Warning
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
‎Apr 28, 2009
03:33 AM
ICE48 Warning
Hi,
I compiled my Web Setup project & got this error:
ISDEV : warning ICE48: Directory 'C_' appears to be hardcoded in the property table to a local drive.
C_ is a property with value C:\
In Files and Folders View, C:\CompanyName\AppName is the default installation dir. Apparently the C_ property was created when I created a "C:\" folder in the destination computer folder view.
I would prefer to keep "C:\CompanyName\AppName" as the default directory.
Any idea how to resolve this? This is quite important as we are to test the application for a certification.
Thanks.
I compiled my Web Setup project & got this error:
ISDEV : warning ICE48: Directory 'C_' appears to be hardcoded in the property table to a local drive.
C_ is a property with value C:\
In Files and Folders View, C:\CompanyName\AppName is the default installation dir. Apparently the C_ property was created when I created a "C:\" folder in the destination computer folder view.
I would prefer to keep "C:\CompanyName\AppName" as the default directory.
Any idea how to resolve this? This is quite important as we are to test the application for a certification.
Thanks.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2009
04:34 AM
Yu should never enter hardcoded values in the property table, because its possible that someone does not have a C:\ drive at all, and then your setup will fail.
Initalize the property with 0. Then write a custom action (or set property CA) to set the property to a drive letter. Use Installer properties e.g. ProgramFiles to resolve to the correct path. Again no hardcoded values.
Initalize the property with 0. Then write a custom action (or set property CA) to set the property to a drive letter. Use Installer properties e.g. ProgramFiles to resolve to the correct path. Again no hardcoded values.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2009
03:47 PM
if your goal is to ensure that the application is installed onto the same hard drive as windows you can use the predefined folder WindowsVolume if you are installing through a basic MSI project.
--James
--James
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2009
10:49 PM
Lurean wrote:
if your goal is to ensure that the application is installed onto the same hard drive as windows you can use the predefined folder WindowsVolume if you are installing through a basic MSI project.
--James
This way gives me another error: :eek:
ISDEV : error ICE99: The directory name: WindowsVolume is the same as one of the MSI Public Properties and can cause unforeseen side effects.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 29, 2009
01:51 PM
did you remove the old public property that refered to the C drive? the properties are not always removed when you remove the directory from the files and folders view.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2009
03:01 AM
Use WINDIR in place of C:\. Hope this will work for you.