Groups | Blog | Home
all groups > visual studio .net setup > august 2003 >

visual studio .net setup : No REG_MULTI_SZ option in VS.NET setup project


James O.
8/21/2003 10:45:08 AM
I have a setup project in VS.NET 03, but I can not find an option for
creating a REG_MULTI_SZ in the Registry view. Every other type seems to be
there, just not that one.

Is there some workaround that will allow me to create REG_MULTI_SZ strings
in my setup project?

bradleyj NO[at]SPAM online.microsoft.com
8/25/2003 10:44:11 AM
Hi,

VS .NET 2003 doesnt support this type. You may use ORCA to manually edit
the msi:

1. First, create a String value in VS .NET setup project
2. Use ORCA to open the resultant msi. In the registry table, change the
value of the registry item to string1[~]string2[~]string3...

[~] is the separator of the multi-string

ORCA.exe is included in the Installer SDK.



Best regards,
Bradley Jiang


This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
|From: "James O." <msdn@tanagra.com>
|Subject: No REG_MULTI_SZ option in VS.NET setup project
|Date: Thu, 21 Aug 2003 10:45:08 -0700
|Lines: 8
|Organization: Tanagra
|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
|Message-ID: <eTsE3vAaDHA.2592@TK2MSFTNGP09.phx.gbl>
|Newsgroups: microsoft.public.vsnet.setup
|NNTP-Posting-Host: dsl254-020-240.sea1.dsl.speakeasy.net 216.254.20.240
|Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
|Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.setup:3034
|X-Tomcat-NG: microsoft.public.vsnet.setup
|
|I have a setup project in VS.NET 03, but I can not find an option for
|creating a REG_MULTI_SZ in the Registry view. Every other type seems to be
|there, just not that one.
|
|Is there some workaround that will allow me to create REG_MULTI_SZ strings
|in my setup project?
|
|
|
bradleyj NO[at]SPAM online.microsoft.com
8/26/2003 9:06:51 AM

If you want to use ORCA, please go to

http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

to download and install the Windows Installer SDK. After it is installed,
go to \Program Files\Microsoft SDK\Bin\ folder and run the orca.msi to
install the tool.


Best regards,
Bradley Jiang

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
|X-Tomcat-ID: 226874232
|References: <eTsE3vAaDHA.2592@TK2MSFTNGP09.phx.gbl>
|MIME-Version: 1.0
|Content-Type: text/plain
|Content-Transfer-Encoding: 7bit
|From: bradleyj@online.microsoft.com (Bradley Jiang[MSFT])
|Organization: Microsoft
|Date: Mon, 25 Aug 2003 10:44:11 GMT
|Subject: RE: No REG_MULTI_SZ option in VS.NET setup project
|X-Tomcat-NG: microsoft.public.vsnet.setup
|Message-ID: <liGPNXvaDHA.1092@cpmsftngxa06.phx.gbl>
|Newsgroups: microsoft.public.vsnet.setup
|Lines: 38
|Path: cpmsftngxa06.phx.gbl
|Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.setup:3062
|NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
|Hi,
|
|VS .NET 2003 doesnt support this type. You may use ORCA to manually edit
|the msi:
|
|1. First, create a String value in VS .NET setup project
|2. Use ORCA to open the resultant msi. In the registry table, change the
|value of the registry item to string1[~]string2[~]string3...
|
|[~] is the separator of the multi-string
|
|ORCA.exe is included in the Installer SDK.
|
|
|
|Best regards,
|Bradley Jiang
|
|
|This posting is provided "AS IS" with no warranties, and confers no
rights.
|--------------------
||From: "James O." <msdn@tanagra.com>
||Subject: No REG_MULTI_SZ option in VS.NET setup project
||Date: Thu, 21 Aug 2003 10:45:08 -0700
||Lines: 8
||Organization: Tanagra
||X-Priority: 3
||X-MSMail-Priority: Normal
||X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
||X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
||Message-ID: <eTsE3vAaDHA.2592@TK2MSFTNGP09.phx.gbl>
||Newsgroups: microsoft.public.vsnet.setup
||NNTP-Posting-Host: dsl254-020-240.sea1.dsl.speakeasy.net 216.254.20.240
||Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
||Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.setup:3034
||X-Tomcat-NG: microsoft.public.vsnet.setup
||
||I have a setup project in VS.NET 03, but I can not find an option for
||creating a REG_MULTI_SZ in the Registry view. Every other type seems to
be
||there, just not that one.
||
||Is there some workaround that will allow me to create REG_MULTI_SZ strings
||in my setup project?
||
||
||
|
|
James O.
8/27/2003 11:30:07 AM
Thanks for the info on ORCA.

Another option is to create an Installer class that adds the REG_MULTI_SZ
programatically (using the RegistryKey class) and include that in the Setup
project's Custom Actions.


[quoted text, click to view]

joe_goeke NO[at]SPAM hotmail.com
1/18/2005 4:08:34 PM
Ignore all of the overly complicated suggestions below. All you have
to do is create a regular string in the setup project, and use the [~]
between your line items of your REG_MULTI_SZ data. Place the entire
string into the regular string in the setup project. When the setup is
executed, the MSI installer will create a REG_MULTI_SZ entry and
seperate the data lines base on the [~] in your setup string.

It amazes me just how incomplete and poor the MS docs are on there
deployment projects...

Hope this helped!

---JHG
AddThis Social Bookmark Button