Click here to Skip to main content
15,911,715 members
Home / Discussions / C#
   

C#

 
GeneralRe: Returning Items and SubItems from ListView Pin
Mazdak3-Feb-04 23:37
Mazdak3-Feb-04 23:37 
GeneralRe: Returning Items and SubItems from ListView Pin
IrishSonic4-Feb-04 0:31
IrishSonic4-Feb-04 0:31 
GeneralRe: Returning Items and SubItems from ListView Pin
Mazdak4-Feb-04 1:25
Mazdak4-Feb-04 1:25 
GeneralRe: Thanks - you're a star!!! Pin
IrishSonic4-Feb-04 3:29
IrishSonic4-Feb-04 3:29 
GeneralSereilize a Array List Pin
Snowjim3-Feb-04 22:40
Snowjim3-Feb-04 22:40 
GeneralRe: Sereilize a Array List Pin
thomasa4-Feb-04 3:32
thomasa4-Feb-04 3:32 
GeneralRe: Sereilize a Array List Pin
Heath Stewart4-Feb-04 4:08
protectorHeath Stewart4-Feb-04 4:08 
GeneralRe: Sereilize a Array List Pin
LongRange.Shooter5-Feb-04 2:34
LongRange.Shooter5-Feb-04 2:34 
QuestionHow to display frame or panel on top of DirectDraw video window in Fullscreen mode? Pin
mdundek3-Feb-04 22:34
mdundek3-Feb-04 22:34 
AnswerRe: How to display frame or panel on top of DirectDraw video window in Fullscreen mode? Pin
Heath Stewart4-Feb-04 4:03
protectorHeath Stewart4-Feb-04 4:03 
GeneralDeployment project: adding uninstall icon Pin
Radoslav Bielik3-Feb-04 21:51
Radoslav Bielik3-Feb-04 21:51 
GeneralRe: Deployment project: adding uninstall icon Pin
Mazdak3-Feb-04 23:31
Mazdak3-Feb-04 23:31 
GeneralRe: Deployment project: adding uninstall icon Pin
Radoslav Bielik3-Feb-04 23:43
Radoslav Bielik3-Feb-04 23:43 
GeneralRe: Deployment project: adding uninstall icon Pin
Heath Stewart4-Feb-04 3:55
protectorHeath Stewart4-Feb-04 3:55 
GeneralRe: Deployment project: adding uninstall icon Pin
Heath Stewart4-Feb-04 4:00
protectorHeath Stewart4-Feb-04 4:00 
GeneralRe: Deployment project: adding uninstall icon Pin
Mazdak4-Feb-04 5:27
Mazdak4-Feb-04 5:27 
GeneralRe: Deployment project: adding uninstall icon Pin
Heath Stewart4-Feb-04 5:29
protectorHeath Stewart4-Feb-04 5:29 
GeneralRe: Deployment project: adding uninstall icon Pin
Radoslav Bielik4-Feb-04 20:58
Radoslav Bielik4-Feb-04 20:58 
GeneralRe: Deployment project: adding uninstall icon Pin
Heath Stewart5-Feb-04 4:14
protectorHeath Stewart5-Feb-04 4:14 
Sorry for the misunderstanding.

Windows Installer recommends that you DO NOT add an Uninstall shortcut to the start menu. In fact, IIRC, this violates Windows Installer guidelines and you cannot certify your application for Windows.

If this is not a big deal, you could do so by making a shortcut to msiexec.exe and use "/x [ProductCode]" as the command-line parameter.

Unfortunately, the crappy Windows Installer project in VS.NET won't let you do this (as well as MANY other things, which is why I never use it and either use Wise for Windows Installer or from scratch with Orca). You need to download the Windows Installer SDK, part of the Platform SDK, which includes an install for a handy utility called Orca. This opens the MSI package as it is - a relational database. You can find more information about the Platfrom SDK from http://msdn.microsoft.com/platformsdk[^].

Once you do this, you need to enter the following information into the Shortcut table:
(Column: Description)
Shortcut: Unique key - type anything
Directory_: Key to a directory in the Directory table for your program group
Name: Name of the shortcut (i.e., title)
Component_: Key to a component in the Component table for which this shortcut is associated
Target: [SystemFolder]msiexec.exe
Arguments: /x [ProductCode]
Description: Description of the shortcut
Hotkey: Leave empty
Icon_: Key to an icon to use in the Icon table
IconIndex: 0-based index for icon if Icon_ points to an executable
ShowCmd: 1 for normal, 3 for maximized, 7 minimized/not active
If you like, I could also probably send you Orca since the EULA seems to allow it so long as I send you the entire installation (which isn't bit). If you would rather me do that, send me a direct email (you can get my email from the message sent to you if you configured your settings for notification of replies).

 

Microsoft MVP, Visual C#
My Articles
GeneralProblem with arrays... Pin
Andres Coder3-Feb-04 21:46
Andres Coder3-Feb-04 21:46 
GeneralRe: Problem with arrays... Pin
Radoslav Bielik3-Feb-04 21:54
Radoslav Bielik3-Feb-04 21:54 
GeneralRe: Problem with arrays... Pin
Andres Coder4-Feb-04 3:29
Andres Coder4-Feb-04 3:29 
GeneralRe: Problem with arrays... Pin
Andres Coder4-Feb-04 3:29
Andres Coder4-Feb-04 3:29 
GeneralRe: Problem with arrays... Pin
Heath Stewart4-Feb-04 3:53
protectorHeath Stewart4-Feb-04 3:53 
GeneralRe: Problem with arrays... Pin
Andres Coder4-Feb-04 23:14
Andres Coder4-Feb-04 23:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.