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: IISROOTFOLDER syntaxis error on installation
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
‎Mar 09, 2009
10:06 AM
IISROOTFOLDER syntaxis error on installation
I am using \dir with some components in my installation. problem is that i get an error during installation. This error is talking about a syntaxis error on all the components where i use .When i change it to \dir it doesn't give me any problem anymore.
I checked via script what IISROOTFOLDER looked like and it was just holding this value:"\" .
In this installation when IIS is not installed these features should not be installed i hide them using the following code
Problem is that i still get the syntaxis error even though the features don't get installed.
Using the following code i don't get the syntaxis error
somehow this feels like i am just fixing the symptom but not the cause. anybody know how to fix this correctly?
Oops forgetting to add i am using an installscript project
I checked via script what IISROOTFOLDER looked like and it was just holding this value:"\" .
In this installation when IIS is not installed these features should not be installed i hide them using the following code
FeatureSetData (MEDIA, "Edu Web LMS", FEATURE_FIELD_VISIBLE, FALSE, "Hidden feature");
Problem is that i still get the syntaxis error even though the features don't get installed.
Using the following code i don't get the syntaxis error
if IISROOTFOLDER="\\" then
TextSubSetValue("", "", FALSE );
endif;
somehow this feels like i am just fixing the symptom but not the cause. anybody know how to fix this correctly?
Oops forgetting to add i am using an installscript project
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2009
02:00 PM
Are you also calling FeatureSelectItem to deselect this feature? If not, hiding it will only prevent the feature from being displayed on a feature dialog; if the feature was never deselected, the engine will still try to install the feature.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 13, 2009
05:20 AM
Thanks for the heads up but yes i was using the following code
I have talked with my colleague here who says the syntaxis error probably be gone when i configure the IIS part of the installation(i have not yet added any data here).
FeatureSetData(MEDIA, sFeatureName, FEATURE_FIELD_SELECTED, aLicensed, "Checked vanuit licentie");
I have talked with my colleague here who says the syntaxis error probably be gone when i configure the IIS part of the installation(i have not yet added any data here).
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)