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: HELP - not Getting Correct Property Values
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
‎Nov 10, 2007
09:39 PM
HELP - not Getting Correct Property Values
USING BASIC MSI...
I'm updating the INSTALLDIR path using System Search on a registry value.
I'm also trying to update a second Property based on another registry entry. I update this property in an Immediate Execution - Installshield Script. And I use MsiSetProperty to update that Property value with the slightly adjusted value.
This Property (like INSTALLDIR) defines another base path that is a Directory Identifier for installing files for my application.
My issue is that my files don't get installed into that path.
How do I make the Directory Identifier match what is being stored in the property with the same name?
This has something to do with IS2008's change between immediate and deferred execution... I've been trying to get this to work for a while now and I can't seem to get the MSI to recognize this updated property that I tweak in that Immediate Execution script.
HELP PLEASE...
I'm updating the INSTALLDIR path using System Search on a registry value.
I'm also trying to update a second Property based on another registry entry. I update this property in an Immediate Execution - Installshield Script. And I use MsiSetProperty to update that Property value with the slightly adjusted value.
This Property (like INSTALLDIR) defines another base path that is a Directory Identifier for installing files for my application.
My issue is that my files don't get installed into that path.
How do I make the Directory Identifier match what is being stored in the property with the same name?
This has something to do with IS2008's change between immediate and deferred execution... I've been trying to get this to work for a while now and I can't seem to get the MSI to recognize this updated property that I tweak in that Immediate Execution script.
HELP PLEASE...
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 11, 2007
10:31 AM
try sequencing a "Set a Directory" (type 35) CA after your IS CA that will set a directory identifier to the value of the property.
I ran into this problem just a little while ago and it also had me scratching my head. When looking for a directory, the engine only checks the keyname column of the directory table. it won't find a directory name in the property table.
🙂 Good Luck!
I ran into this problem just a little while ago and it also had me scratching my head. When looking for a directory, the engine only checks the keyname column of the directory table. it won't find a directory name in the property table.
🙂 Good Luck!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 11, 2007
11:38 PM
Thanks Kelter.
I was working along those lines and still having trouble. I found that is was a corrupted directory table entry. I just cleared out the suspect folders from my project and re-created the structure. I also simplified the depth of the structure and that eliminated the problems. 🙂
I was banging my head against the wall with a bungled up directory table. :mad:
Thanks for the thoughts.
I was working along those lines and still having trouble. I found that is was a corrupted directory table entry. I just cleared out the suspect folders from my project and re-created the structure. I also simplified the depth of the structure and that eliminated the problems. 🙂
I was banging my head against the wall with a bungled up directory table. :mad:
Thanks for the thoughts.