Hi,
I need to install some files to a directory retreived from doing an AppSearch in the
registry. How do I create a diretory entry that has the path that a property holds?
In AppSearh table, I have:
+------------+---------------+
| Property | Signature_ |
+------------+---------------+
| DT | AppReg_dt |
+------------+---------------+
In RegLocator I have something like:
+--------------+---------------+-----------------+-----------+--------------+
| Signature_ | Root | Key | Name | Type |
+--------------+---------------+-----------------+-----------+--------------+
| AppReg_dt | 2 | Software\... | | 0 |
+--------------+---------------+-----------------+-----------+--------------+
In the Directory table:
+--------------+--------------------+-----------------+
| Directory | Directory_Parent | DefaultDir |
+--------------+---------------------+-----------------+
| DT | TARGETDIR | DT |
+--------------+---------------------+-----------------+
I had that working for a while but all of a sudden I am getting "Internal error 2705"
error! Weird thing is that if I run the installer INSIDE Wise then I don't get that error
but if I run it outside (compile the installer with the coomand-line WfWI.exe) then I
get that error...
Any thoughts?
THANKS!
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Create a directory entry from a property?
Started by
quakey
, Nov 30 2004 03:56
4 replies to this topic
Posted 30 November 2004 - 08:57
Did you validate your msi file?
Do you initialize the property, in case the registry entry is not found?
Do you initialize the property, in case the registry entry is not found?
Stefan Krüger
InstallSite.org twitter facebook
Posted 30 November 2004 - 09:38
QUOTE (Stefan Krueger @ 2004-11-30 08:57) |
Did you validate your msi file? Do you initialize the property, in case the registry entry is not found? |
Hi,
Let's assume the properties are all initilized and the registry entries are present, is this
the correct way to create a direcotry entry from a property (which holds the path read
from the registry via AppSearch)?
Thanks.
Posted 30 November 2004 - 17:52
I usually perfer to use a different property for the search, and then call a type 51 (set a directory) custom action with the result of the search.
Stefan Krüger
InstallSite.org twitter facebook
Posted 14 December 2004 - 13:16
Hi,
there is a wise article, which explains how to use a custom action (custom action 51 is the right one, Mr Krueger said it before) for your problem. It´s on http://www.wise.com/...folder directly
Hope, it helps,
NewOrder
there is a wise article, which explains how to use a custom action (custom action 51 is the right one, Mr Krueger said it before) for your problem. It´s on http://www.wise.com/...folder directly
Hope, it helps,
NewOrder