That sounds like a complete way to go. When you say "samples.msi doesn't
register the product", do this mean that it can't really be uninstalled
or repaired - it's just a fire-and-forget install. I'm not clear on what
all the necessary steps would be from a standard install that I'm
accustomed to doing to make it behave in this fashion.
I think that for my project, I'll stick putting them in Program Files
for now; it's one less step for the user. The shortcut suggested by
Richard makes it much more palatable to me.
Also, what are you referring to by "Microsoft Patterns & Practices"? Is
there a specific public document that outlines this?
Thanks!
--Quinton
From: Brian Cardiff [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 19, 2007 8:03 AM
To: Quinton Tormanen
Cc: John Vottero; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Where to install samples
Microsoft patterns & practices use this:
1. Create a installer for samples: let say Samples.msi
2. Create the installer for the product and include Sample.msi as part
of the product and add shortcut to it in Start Menu.
So user will see the available samples, can install them where he/she
wants (probably outside program files).
Also the Samples.msi suggest a location: user's Visual Studio Projects
folder. Samples.msi doesn't register the product, so each user can have
a copy.
What do you think about this?
On 4/19/07, Quinton Tormanen <[EMAIL PROTECTED]> wrote:
I have also noted that Microsoft historically puts Visual Studio samples
under Program Files. However, I had two concerns about this:
1. I notice that one of Microsoft's known issues for Visual Studio
on Windows Vista as a Normal User is that the samples can't be compiled
(due to UAC). The note starts out by saying, "Currently the samples that
ship with Visual Studio are installed under Program Files..." They list
the two obvious workarounds (copy them or run as administrator), but
this makes it sound like there is a better place for them that they'll
use next time.
2. I am also a bit concerned how Windows Vista and XP default to
having Program Files not be browsable. This is probably fine for the
programmers that will be using our assembly, but again, it didn't feel
like the ideal solution.
Installing them under Program Files is my top choice right now, but it
doesn't seem like the long-term solution.
--Quinton
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Vottero
Sent: Thursday, April 19, 2007 5:09 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Where to install samples
Microsoft puts lots of samples in "Program Files...".
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Quinton
Tormanen
Sent: Thursday, April 19, 2007 12:26 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Where to install samples
I have a .NET assembly that we've built for use by our customers. We
have just added a bunch of sample projects using our assembly that can
be also be installed. I'm unclear on where to install these samples. I
thought of putting them under "[PersonalFolder]\RMCLink Samples", but
the negatives soon occurred to me (poor behavior under multiple users),
and it was apparent that Orca agreed with me.
So, I'm thinking of just putting them in a sub-folder under our install
folder (typically "C:\Program Files\RMCLink"). However, I'm not sure how
much Microsoft would like that since to use the samples, the user needs
to muck around in C:\Program Files, which doesn't seem like the best
place to advice users to browse around.
Any thoughts on where the proper place is for such samples?
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Brian J. Cardiff
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users