Is it possible to set the SqlInstanceName property that is used by the MSDE merge modules during installation using a custom dialog and installscript.
My installscript uses MsiSetProperty to set the property to the value from my dialog and everything seems to work fine. MsiGetProperty returns the correct value. However when the installation completes the instancename is not what specified. It is the orginal value from the property table.
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.
MSDE Merge Modules InstanceName
Started by
mikemcclaran
, Apr 19 2003 00:44
1 reply to this topic
Posted 15 May 2003 - 23:10
Using Orca, create a custom action with the following settings:
Action: SetInstanceName (can be whatever you like)
Type: 51
Source: SqlInstanceName
Target: MyInstance (the name of your instance)
SqlInstanceName is the name of the property that the merge modules are looking for. Then add the action to the InstallExecuteSequence table somewhere. I actually have it as one of the first things in the sequence. You can check this out too: Q281983
Action: SetInstanceName (can be whatever you like)
Type: 51
Source: SqlInstanceName
Target: MyInstance (the name of your instance)
SqlInstanceName is the name of the property that the merge modules are looking for. Then add the action to the InstallExecuteSequence table somewhere. I actually have it as one of the first things in the sequence. You can check this out too: Q281983