Installing new Version fails on some condition

  • Thread starter Thread starter Christof Nordiek
  • Start date Start date
C

Christof Nordiek

Hi,

i have a setup project, wich is configured so that new versions will
automatically uninstall in older version. It all works fine, but
the installation fails, if the user selects another application directory
than for
the existing version.
Gives twice a message that a part of a directory is missing. Then everything
is rolled back.
Maybe the problem is linked with an installer class i use in my project.

Any solution to this problem? Is it a known bug?
 
Hello, Christof!

CN> i have a setup project, wich is configured so that new versions will
CN> automatically uninstall in older version. It all works fine, but
CN> the installation fails, if the user selects another application
CN> directory than for
CN> the existing version.
CN> Gives twice a message that a part of a directory is missing. Then
CN> everything is rolled back.

You receive this error on what phase?

CN> Maybe the problem is linked with an installer class i use in my
CN> project.

What kind of action does your installer class?

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
Hi Vadym,

Vadym Stetsyak said:
Hello, Christof!

CN> i have a setup project, wich is configured so that new versions will
CN> automatically uninstall in older version. It all works fine, but
CN> the installation fails, if the user selects another application
CN> directory than for
CN> the existing version.
CN> Gives twice a message that a part of a directory is missing. Then
CN> everything is rolled back.

You receive this error on what phase?

When the installation is (almost) complete. Even the installer class seems
to have run
succesfull (for both unsinstalling the old and installing the new version),
but then the messages
pop up and all is rolled back.

The messages are similar to (it's translated back to english):
Couldn't find part of path: <new application path>\<appname>.InstallState.
Couldn't find part of path: said:
CN> Maybe the problem is linked with an installer class i use in my
CN> project.

What kind of action does your installer class?

It copies a link to other userprofiles.

PS: manually uninstalling and installing works all fine, also installing
over an old version
works if the applicationpath is the same
 
Hi Vadym,

Vadym Stetsyak said:
Hello, Christof!

CN> i have a setup project, wich is configured so that new versions will
CN> automatically uninstall in older version. It all works fine, but
CN> the installation fails, if the user selects another application
CN> directory than for
CN> the existing version.
CN> Gives twice a message that a part of a directory is missing. Then
CN> everything is rolled back.

You receive this error on what phase?

When the installation is (almost) complete. Even the installer class seems
to have run
succesfull (for both unsinstalling the old and installing the new version),
but then the messages
pop up and all is rolled back.

The messages are similar to (it's translated back to english):
Couldn't find part of path: <new application path>\<appname>.InstallState.
Couldn't find part of path: said:
CN> Maybe the problem is linked with an installer class i use in my
CN> project.

What kind of action does your installer class?

It copies a link to other userprofiles.

PS: manually uninstalling and installing works all fine, also installing
over an old version
works if the applicationpath is the same
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top