Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Installation failed : "Access to the path "....InstallState" denie

137 views
Skip to first unread message

Phil Wilson

unread,
Dec 6, 2006, 8:32:21 PM12/6/06
to
I believe the InstallState file is created in the Program Files folder,
right? Limited users don't have write access to that directory, so that
behavior seems correct to me. I guess you're using a Visual Studio setup
with managed code custom actions? That would be the root design decision
causing this.
--
Phil Wilson
[Microsoft MVP Windows Installer]
"Stephane" <Step...@discussions.microsoft.com> wrote in message
news:5EBB9171-DEB6-402B...@microsoft.com...
> Hi,
>
> I have a install project with custom action.
>
> When I install the application for everyone, tha installtion work fine and
> SetSecutity.InstallState are create.
>
> After, when I try to run the application with another account (Restricted
> user), the installation of the application continue and at the end an
> error
> occurr :
>
> "Access to the path "SetSecutity.InstallState" denied"
>
> Can you help me?
>
> Regards
>
> Stéphane


Stephane

unread,
Dec 7, 2006, 1:30:01 AM12/7/06
to

"Phil Wilson" wrote:

> I believe the InstallState file is created in the Program Files folder,
> right?

Yes

>Limited users don't have write access to that directory, so that
> behavior seems correct to me.

Yes

>I guess you're using a Visual Studio setup
> with managed code custom actions?

Yes

>That would be the root design decision
> causing this.

How can I indicate to the action not to run twice?
Or do you have another solution ?

Stephane

unread,
Dec 7, 2006, 2:06:00 AM12/7/06
to
Problem resolve :

I install the custom action in other directory (Application Data for user)
and it work fine.

Thank you.

0 new messages