Welcome Guest Search | Active Topics | Members | Log In | Register

Re: Installation when "Everyone" selected Options · View
Phil Wilson
Posted: Wednesday, April 02, 2008 5:09:03 AM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 02/04/2008 05:09:03
Date: Wed, 2 Apr 2008 12:09:03 -0700

There's something in your setup that's user specific (registry entry, file
in a user profile location) that is absent when another user starts using
the app. The MSI repair kicks in when a shortcut is used, and that installs
whatever is missing. It's normal. I think some older versions of MS Office
used to do this for new users.
--
Phil Wilson
[MVP Windows Installer]

"chris" <chris@msdnhelp.com> wrote in message
news:627628F3-A1EE-4C80-B0C9-27E4D3C41A71@microsoft.com...
> Hi All,
>
> When testing my software installation for "Everyone", I noticed the first
> time each user accesses the shortcut to the application, the .MSI file is
> targetted and it looks like a partial reinstall takes place. Once the .MSI
> file is successfully re-run, the shortcuts work as expected from then
> on...
> even when removing the application and re-installing it.
>
> It seems like once an administrator installs the application for
> "Everyone",
> each user should not need the CD (.MSI file) to access the application for
> the first time.
>
> Does anyone know why?
> Am I missing something?
>
> I'm using:
> VS2008 setup project
> Installing .NET Framework 2.0
> Installing Windows Installer 3.1
>
> Thanks for your time,
> Chris
>


Phil Wilson
Posted: Thursday, April 03, 2008 6:01:59 AM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 03/04/2008 06:01:59
Date: Thu, 3 Apr 2008 13:01:59 -0700

The event log will have some MsiInstaller entries that say what component
guid is missing - I should have mentioned that before.

The DesktopFolder documentation says that it will add the shortcut to the
all users profile, and the ProgramMenuFolder says the same thing. So it
shouldn't need a repair to create them for other users that log on, so
non-advertised shortcuts should work if you're not bothered about repair
working in general.. I've seen people report issues like this before, and I
think maybe that there's something inside the setup that's causing the
repair that you can't see, like a HKCU registry.

--
Phil Wilson
Definitive Guide to Windoows Installer
http://www.apress.com/book/view/1590592972


"chris" <chris@msdnhelp.com> wrote in message
news:4A7370F8-872D-4C90-BAC6-81CE1F3AF7DB@microsoft.com...
> Thanks Phil for the quick reply.
>
> I've stripped everything out except the shortcuts to the User's Desktop
> and
> User's Programs Menu. Would these be the "user profile location" you
> mentioned? If so, how else would I install shortcuts for all user's?
>
> What do you think about using Orca to mark these shortcuts as
> Non-Advertised?
>
> Thanks again for your time,
> Chris
>
>
>
> "Phil Wilson" wrote:
>
>> There's something in your setup that's user specific (registry entry,
>> file
>> in a user profile location) that is absent when another user starts using
>> the app. The MSI repair kicks in when a shortcut is used, and that
>> installs
>> whatever is missing. It's normal. I think some older versions of MS
>> Office
>> used to do this for new users.
>> --
>> Phil Wilson
>> [MVP Windows Installer]
>>
>> "chris" <chris@msdnhelp.com> wrote in message
>> news:627628F3-A1EE-4C80-B0C9-27E4D3C41A71@microsoft.com...
>> > Hi All,
>> >
>> > When testing my software installation for "Everyone", I noticed the
>> > first
>> > time each user accesses the shortcut to the application, the .MSI file
>> > is
>> > targetted and it looks like a partial reinstall takes place. Once the
>> > .MSI
>> > file is successfully re-run, the shortcuts work as expected from then
>> > on...
>> > even when removing the application and re-installing it.
>> >
>> > It seems like once an administrator installs the application for
>> > "Everyone",
>> > each user should not need the CD (.MSI file) to access the application
>> > for
>> > the first time.
>> >
>> > Does anyone know why?
>> > Am I missing something?
>> >
>> > I'm using:
>> > VS2008 setup project
>> > Installing .NET Framework 2.0
>> > Installing Windows Installer 3.1
>> >
>> > Thanks for your time,
>> > Chris
>> >
>>
>>
>>


Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.045 seconds.