PDA

View Full Version : repost: Does MoveFile work when uninstalling (BASIC MSI )?



NewsArchive
12-04-2001, 01:00 AM
According to the MS doc.

"Component_
External key into the Component table.. If the component referenced by this
key is not selected for installation or removal, then no action is taken on
this MoveFile entry. "

On install I'm trying to rename an existing file (a.exe to a_old.exe) and
install a new version. This works fine.
On uninstall I want to uninstall the new version (works fine) then rename
a_old.exe to a.exe. MoveFile doesn't seem to do anything despite the doc
imply it would.

Is it supposed to work?

thanks
bruce

NewsArchive
12-05-2001, 01:00 AM
Hi..

As far as I know the MoveFiles action is only runned on install.... If you
want to
rename a file on uninstall you have to create a CA for it...

But of course.. I may have misunderstood this:)

--Rune G

"Bruce Cartland" <bruce.cartland@pobox.com> wrote in message
news:3c0c2530@news.installshield.com...
> According to the MS doc.
>
> "Component_
> External key into the Component table.. If the component referenced by
this
> key is not selected for installation or removal, then no action is taken
on
> this MoveFile entry. "
>
> On install I'm trying to rename an existing file (a.exe to a_old.exe) and
> install a new version. This works fine.
> On uninstall I want to uninstall the new version (works fine) then rename
> a_old.exe to a.exe. MoveFile doesn't seem to do anything despite the doc
> imply it would.
>
> Is it supposed to work?
>
> thanks
> bruce
>
>
>

NewsArchive
12-06-2001, 01:00 AM
Thanks guys.

Michael - I tried that already to no avail. Did it work for you?.

Like Rune I suspect that MoveTable only works on install - if so it's a
pretty silly limitation.

From: "Michael Nacey" <mnacey@teletracking.com>
To: <bruce.cartland@pobox.com>
Sent: Wednesday, December 05, 2001 12:27 AM
Re: repost: Does MoveFile work when uninstalling (BASIC MSI )?


> I am trying a similar action due to the fact that I cannot find out how
> to: "always overwrite".
>
> Try putting two entries in your MoveFiles Table:
>
> One with the .exe filename and one with the _old.exe name.
>

"Rune G" <rg#world-online.no> wrote in message
news:3c0e1dc8@news.installshield.com...
> Hi..
>
> As far as I know the MoveFiles action is only runned on install.... If you
> want to
> rename a file on uninstall you have to create a CA for it...
>
> But of course.. I may have misunderstood this:)
>
> --Rune G
>
> "Bruce Cartland" <bruce.cartland@pobox.com> wrote in message
> news:3c0c2530@news.installshield.com...
> > According to the MS doc.
> >
> > "Component_
> > External key into the Component table.. If the component referenced by
> this
> > key is not selected for installation or removal, then no action is taken
> on
> > this MoveFile entry. "
> >
> > On install I'm trying to rename an existing file (a.exe to a_old.exe)
and
> > install a new version. This works fine.
> > On uninstall I want to uninstall the new version (works fine) then
rename
> > a_old.exe to a.exe. MoveFile doesn't seem to do anything despite the doc
> > imply it would.
> >
> > Is it supposed to work?
> >
> > thanks
> > bruce
> >
> >
> >
>
>

NewsArchive
12-06-2001, 01:00 AM
Thanks guys.

Michael - I tried that already to no avail. Did it work for you?.

Like Rune I suspect that MoveTable only works on install - if so it's a
pretty silly limitation.

From: "Michael Nacey" <mnacey@teletracking.com>
To: <bruce.cartland@pobox.com>
Sent: Wednesday, December 05, 2001 12:27 AM
Re: repost: Does MoveFile work when uninstalling (BASIC MSI )?


> I am trying a similar action due to the fact that I cannot find out how
> to: "always overwrite".
>
> Try putting two entries in your MoveFiles Table:
>
> One with the .exe filename and one with the _old.exe name.
>

"Rune G" <rg#world-online.no> wrote in message
news:3c0e1dc8@news.installshield.com...
> Hi..
>
> As far as I know the MoveFiles action is only runned on install.... If you
> want to
> rename a file on uninstall you have to create a CA for it...
>
> But of course.. I may have misunderstood this:)
>
> --Rune G
>
> "Bruce Cartland" <bruce.cartland@pobox.com> wrote in message
> news:3c0c2530@news.installshield.com...
> > According to the MS doc.
> >
> > "Component_
> > External key into the Component table.. If the component referenced by
> this
> > key is not selected for installation or removal, then no action is taken
> on
> > this MoveFile entry. "
> >
> > On install I'm trying to rename an existing file (a.exe to a_old.exe)
and
> > install a new version. This works fine.
> > On uninstall I want to uninstall the new version (works fine) then
rename
> > a_old.exe to a.exe. MoveFile doesn't seem to do anything despite the doc
> > imply it would.
> >
> > Is it supposed to work?
> >
> > thanks
> > bruce
> >
> >
> >
>
>

NewsArchive
12-06-2001, 01:00 AM
Thanks guys.

Michael - I tried that already to no avail. Did it work for you?.

Like Rune I suspect that MoveTable only works on install - if so it's a
pretty silly limitation.

From: "Michael Nacey" <mnacey@teletracking.com>
To: <bruce.cartland@pobox.com>
Sent: Wednesday, December 05, 2001 12:27 AM
Re: repost: Does MoveFile work when uninstalling (BASIC MSI )?


> I am trying a similar action due to the fact that I cannot find out how
> to: "always overwrite".
>
> Try putting two entries in your MoveFiles Table:
>
> One with the .exe filename and one with the _old.exe name.
>

"Rune G" <rg#world-online.no> wrote in message
news:3c0e1dc8@news.installshield.com...
> Hi..
>
> As far as I know the MoveFiles action is only runned on install.... If you
> want to
> rename a file on uninstall you have to create a CA for it...
>
> But of course.. I may have misunderstood this:)
>
> --Rune G
>
> "Bruce Cartland" <bruce.cartland@pobox.com> wrote in message
> news:3c0c2530@news.installshield.com...
> > According to the MS doc.
> >
> > "Component_
> > External key into the Component table.. If the component referenced by
> this
> > key is not selected for installation or removal, then no action is taken
> on
> > this MoveFile entry. "
> >
> > On install I'm trying to rename an existing file (a.exe to a_old.exe)
and
> > install a new version. This works fine.
> > On uninstall I want to uninstall the new version (works fine) then
rename
> > a_old.exe to a.exe. MoveFile doesn't seem to do anything despite the doc
> > imply it would.
> >
> > Is it supposed to work?
> >
> > thanks
> > bruce
> >
> >
> >
>
>

NewsArchive
12-06-2001, 01:00 AM
Thanks guys.

Michael - I tried that already to no avail. Did it work for you?.

Like Rune I suspect that MoveTable only works on install - if so it's a
pretty silly limitation.

From: "Michael Nacey" <mnacey@teletracking.com>
To: <bruce.cartland@pobox.com>
Sent: Wednesday, December 05, 2001 12:27 AM
Re: repost: Does MoveFile work when uninstalling (BASIC MSI )?


> I am trying a similar action due to the fact that I cannot find out how
> to: "always overwrite".
>
> Try putting two entries in your MoveFiles Table:
>
> One with the .exe filename and one with the _old.exe name.
>

"Rune G" <rg#world-online.no> wrote in message
news:3c0e1dc8@news.installshield.com...
> Hi..
>
> As far as I know the MoveFiles action is only runned on install.... If you
> want to
> rename a file on uninstall you have to create a CA for it...
>
> But of course.. I may have misunderstood this:)
>
> --Rune G
>
> "Bruce Cartland" <bruce.cartland@pobox.com> wrote in message
> news:3c0c2530@news.installshield.com...
> > According to the MS doc.
> >
> > "Component_
> > External key into the Component table.. If the component referenced by
> this
> > key is not selected for installation or removal, then no action is taken
> on
> > this MoveFile entry. "
> >
> > On install I'm trying to rename an existing file (a.exe to a_old.exe)
and
> > install a new version. This works fine.
> > On uninstall I want to uninstall the new version (works fine) then
rename
> > a_old.exe to a.exe. MoveFile doesn't seem to do anything despite the doc
> > imply it would.
> >
> > Is it supposed to work?
> >
> > thanks
> > bruce
> >
> >
> >
>
>