PDA

View Full Version : Why? One file in system32 can not be deinstalled !



NewsArchive
12-06-2001, 01:00 AM
Hy,

firstly I have installed
test.cpl (system applet)
in system32 directory.

If system control panel is open, test.cpl can not
be delete/remove from system32.
It is loeded by explorer.

By deinstallation InstallShield 7 can not delete
this file, too.
After rebooting windows (W2K) is this file not
removed.

What should I do to deinstall this file?
How to sign this component to be remove?
Why it can not be removed by deinstallation after
reboot?

In IS6, there was a grop property called "file
locked",
in this case was this file deinstalles just after
new boot.

And what about IS7 ?

Thanks a lot

NewsArchive
12-06-2001, 01:00 AM
In Developer 7, all files locked files are handled by default which is why
there is no potentially locked attribute like there is in 6.X. Did the
uninstallation ask for a reboot, or did you just reboot thinking that would
remove the file? The reason I ask is that if the uninstallation did not ask
for a reboot then it did not think that the file was locked. Does the file
get uninstalled if you do not lock it by opening the control panel?

Regards
David Thornley

"Fred Willson" <FWillson@offline.cc> wrote in message
news:3c0fb44d$1@news.installshield.com...
> Hy,
>
> firstly I have installed
> test.cpl (system applet)
> in system32 directory.
>
> If system control panel is open, test.cpl can not
> be delete/remove from system32.
> It is loeded by explorer.
>
> By deinstallation InstallShield 7 can not delete
> this file, too.
> After rebooting windows (W2K) is this file not
> removed.
>
> What should I do to deinstall this file?
> How to sign this component to be remove?
> Why it can not be removed by deinstallation after
> reboot?
>
> In IS6, there was a grop property called "file
> locked",
> in this case was this file deinstalles just after
> new boot.
>
> And what about IS7 ?
>
> Thanks a lot
>
>
>
>
>

NewsArchive
12-06-2001, 01:00 AM
David,
I have installed two files
myDirectory\file1.exe
--> this file will be removed during
uninstallation

system32\test.cpl
-->this file will not be removed even if not
locked (Control Panel NOT open)
I do not know why?
Uninstallation ask NOT for reboot.
What should I check?

Thanks
Fred





In Developer 7, all files locked files are handled
by default which is why
there is no potentially locked attribute like
there is in 6.X. Did the
uninstallation ask for a reboot, or did you just
reboot thinking that would
remove the file? The reason I ask is that if the
uninstallation did not ask
for a reboot then it did not think that the file
was locked. Does the file
get uninstalled if you do not lock it by opening
the control panel?

NewsArchive
12-06-2001, 01:00 AM
I would start by logging the uninstallation. It is possible that the file
or the component that installs the file have been ref counted on your
development machine. This will happen if you install the same component
multiple times but change the product code of your setup. An uninstall log
would tell you why the component is not being removed.

Regards
David Thornley

"Fred Willson" <FWillson@offline.cc> wrote in message
news:3c0fbf8a$1@news.installshield.com...
> David,
> I have installed two files
> myDirectory\file1.exe
> --> this file will be removed during
> uninstallation
>
> system32\test.cpl
> -->this file will not be removed even if not
> locked (Control Panel NOT open)
> I do not know why?
> Uninstallation ask NOT for reboot.
> What should I check?
>
> Thanks
> Fred
>
>
>
>
>
> In Developer 7, all files locked files are handled
> by default which is why
> there is no potentially locked attribute like
> there is in 6.X. Did the
> uninstallation ask for a reboot, or did you just
> reboot thinking that would
> remove the file? The reason I ask is that if the
> uninstallation did not ask
> for a reboot then it did not think that the file
> was locked. Does the file
> get uninstalled if you do not lock it by opening
> the control panel?
>
>
>
>

NewsArchive
12-06-2001, 01:00 AM
OK.
I am very new on this field, please tell me how to
start this logging?

How to delete this *.cpl if it is marked as
"sharable" ?

"David Thornley" <davidt@installshield.com>
schrieb im Newsbeitrag
news:3c0fc4ef$1@news.installshield.com...
I would start by logging the uninstallation. It
is possible that the file
or the component that installs the file have been
ref counted on your
development machine. This will happen if you
install the same component
multiple times but change the product code of your
setup. An uninstall log
would tell you why the component is not being
removed.

Regards
David Thornley

"Fred Willson" <FWillson@offline.cc> wrote in
message
news:3c0fbf8a$1@news.installshield.com...
> David,
> I have installed two files
> myDirectory\file1.exe
> --> this file will be removed during
> uninstallation
>
> system32\test.cpl
> -->this file will not be removed even if not
> locked (Control Panel NOT open)
> I do not know why?
> Uninstallation ask NOT for reboot.
> What should I check?
>
> Thanks
> Fred
>
>
>
>
>
> In Developer 7, all files locked files are
handled
> by default which is why
> there is no potentially locked attribute like
> there is in 6.X. Did the
> uninstallation ask for a reboot, or did you just
> reboot thinking that would
> remove the file? The reason I ask is that if
the
> uninstallation did not ask
> for a reboot then it did not think that the file
> was locked. Does the file
> get uninstalled if you do not lock it by opening
> the control panel?
>
>
>
>

NewsArchive
12-06-2001, 01:00 AM
For a standard project use Setup.exe /Verbose "C:\log.log". For a Basic MSI
setup use msiexec.exe yourpackage.msi /l*v log.log. This information could
have been found search the help for the topic "logging" or "setup.exe
command line parameters".

"Fred Willson" <FWillson@offline.cc> wrote in message
news:3c0fc652@news.installshield.com...
> OK.
> I am very new on this field, please tell me how to
> start this logging?
>
> How to delete this *.cpl if it is marked as
> "sharable" ?
>
> "David Thornley" <davidt@installshield.com>
> schrieb im Newsbeitrag
> news:3c0fc4ef$1@news.installshield.com...
> I would start by logging the uninstallation. It
> is possible that the file
> or the component that installs the file have been
> ref counted on your
> development machine. This will happen if you
> install the same component
> multiple times but change the product code of your
> setup. An uninstall log
> would tell you why the component is not being
> removed.
>
> Regards
> David Thornley
>
> "Fred Willson" <FWillson@offline.cc> wrote in
> message
> news:3c0fbf8a$1@news.installshield.com...
> > David,
> > I have installed two files
> > myDirectory\file1.exe
> > --> this file will be removed during
> > uninstallation
> >
> > system32\test.cpl
> > -->this file will not be removed even if not
> > locked (Control Panel NOT open)
> > I do not know why?
> > Uninstallation ask NOT for reboot.
> > What should I check?
> >
> > Thanks
> > Fred
> >
> >
> >
> >
> >
> > In Developer 7, all files locked files are
> handled
> > by default which is why
> > there is no potentially locked attribute like
> > there is in 6.X. Did the
> > uninstallation ask for a reboot, or did you just
> > reboot thinking that would
> > remove the file? The reason I ask is that if
> the
> > uninstallation did not ask
> > for a reboot then it did not think that the file
> > was locked. Does the file
> > get uninstalled if you do not lock it by opening
> > the control panel?
> >
> >
> >
> >
>
>
>
>