Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / October 2004

Tip: Looking for answers? Try searching our database.

VS bug found in making a VS Setup project for a VSIP package

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
George Kodinov - 21 Oct 2004 10:19 GMT
Hi,
I've tried making a deployment project for one of my VSIP packages to not
use the self registration.
I have a number of string keys in the form "#nnn" (that refer to resource
ids).
When installing the installer produced thease get set as DWORD registry
values.
Example :
in my deployment project
HKLM\Software\Microsoft\VisualStudio\7.1\Projects\{79A1BA5A-70F2-4497-9739-672A94B02870}\DisplayName="#108"

When installed that becomes DWORD: 0x6c (108)

IMHO that is a genuine VS bug preventing the usage of non-selfregistering
VsPackages.
Bob Arnson [MSFT] - 25 Oct 2004 16:34 GMT
> Hi,
> I've tried making a deployment project for one of my VSIP packages to not
[quoted text clipped - 11 lines]
> IMHO that is a genuine VS bug preventing the usage of non-selfregistering
> VsPackages.

That's actually how Windows Installer works, not a peculiarity of deployment
projects. The Registry table
(<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/regis
try_table.asp
>)
has only Name and Value columns, not a column to indicate the value type. A
leading # indicates a REG_DWORD type. You need to escape the # so it's
written as-is as a string. I'm not sure how to do it in a deployment
project, but in raw MSI tables, it would be

[\#]nnn

See Formatted.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/forma
tted.asp

Signature

sig://boB
http://msdn.microsoft.com/vstudio/extend/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.