J
John L.
Hi there,
I created an MSI deployment project and am using the
"System.Configuration.Install.Installer" class to implement some custom
actions at install time. In "Installer.Install()", I save some info in the
".InstallState" file which is routine for those familiar with this class.
However, when I try to launch my app via the Start menu as a
non-administrator (after installing the app as an administrator for all
users), MSI tries to invoke my custom actions again (why?) and somewhere in
the plumbing of all this, something is trying to *write* to the
".InstallState" file before my app starts. The ".InstallState" file is under
"Program Files" however so MSI fails with an access rights error. Has anyone
seen this behaviour before. It looks like something is seriously broken in
the logic behind this class. Thanks.
I created an MSI deployment project and am using the
"System.Configuration.Install.Installer" class to implement some custom
actions at install time. In "Installer.Install()", I save some info in the
".InstallState" file which is routine for those familiar with this class.
However, when I try to launch my app via the Start menu as a
non-administrator (after installing the app as an administrator for all
users), MSI tries to invoke my custom actions again (why?) and somewhere in
the plumbing of all this, something is trying to *write* to the
".InstallState" file before my app starts. The ".InstallState" file is under
"Program Files" however so MSI fails with an access rights error. Has anyone
seen this behaviour before. It looks like something is seriously broken in
the logic behind this class. Thanks.