I found the problem but I'm not sure how to fix it. All the files are being loaded but in different locations. When I run the installation, I am changing the install path. All of the files in the application folder are getting loaded in the correct location but the files in the property based folders are geting installed to the default location (C:\ in this case)
On the "Install Parameters" page I have property named VS60DIR with a value of C:\. I created a property based folder by right clicking the "Target Computer". Is this the correct level?
On the "Custom Actions" page I created the "Property set with formatted" action with the property name "VS60DIR" and the formatted text of "[APPDIR]". Do I need the braces? I installed the custom action as stated in your prior posts.
I modified the VBS to look like this but the message box does not display a value for the VS60DIR property. The message box appears but is blank. The second message box displays the correct property for MSVERSION_PROP.
Why is the VS60DIR property not getting set?
I tried to upload my AIP but don't see anyway to upload the file from the forum.
Code: Select all
selFeature = Session.Property("MSVERSION_PROP")
Session.Property("COMDIR") = Session.Property("APPDIR")
Session.Property("VS02DIR") = Session.Property("APPDIR")
Session.Property("VS03DIR") = Session.Property("APPDIR")
Session.Property("VS60DIR") = Session.Property("APPDIR")
Session.FeatureRequestState("Feature") = 3
Session.FeatureRequestState("Feature_1") = 2
Session.FeatureRequestState("Feature_2") = 2
Session.FeatureRequestState("Feature_3") = 2
msgbox VS60DIR
msgbox MSVERSION_PROP
if selFeature = "VS60" then
Session.FeatureRequestState("Feature_1") = 3
end if
FOLLOW US
Get the latest news in Application Packaging