Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Upgrade issue


5 replies to this topic

aldebarande

aldebarande
  • Full Members
  • 19 posts

Posted 15 January 2008 - 16:52

Hi,

When user upgrade my product, after the upgrade a DLL is not in its directory but is installed as soon as the user needs it.

If user used a .msi this "just in time" installation is successful, but it fails if a .exe was used.

The use of an exe by users is mandatory

So I'm looking for a way to:

1- Make sure that this DLL is installed after the upgrade without on demand


2- make sure that the exe is able to perform the just in time installation like the msi. Is that possible ?

I've looked somewhere that advertisement can be seen as "on demand installation".
I've disallowed advertisement for my feature but the dll is still missing.


Thanks for your help, I'm in a hurry

Edited by aldebarande, 16 January 2008 - 09:47.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 January 2008 - 11:03

1. To find out why this doesn't work in the first place, generate a log.
2. You must permanently cache the extracted setup on the user's hard disk.

aldebarande

aldebarande
  • Full Members
  • 19 posts

Posted 16 January 2008 - 14:05

QUOTE (Stefan Krueger @ 2008-01-16 11:03)
1. To find out why this doesn't work in the first place, generate a log.
2. You must permanently cache the extracted setup on the user's hard disk.


Hi,

Thanks for your answer.

But how can I achieve the item 2 ?


aldebarande

aldebarande
  • Full Members
  • 19 posts

Posted 16 January 2008 - 23:04

QUOTE (aldebarande @ 2008-01-16 14:05)
QUOTE (Stefan Krueger @ 2008-01-16 11:03)
1. To find out why this doesn't work in the first place, generate a log.
2. You must permanently cache the extracted setup on the user's hard disk.


Hi,

Thanks for your answer.

But how can I achieve the item 2 ?


Hi,

I have been able to make the EXE able to perform just in time install.

I ran the release wizard for SINGLE_EXE_IMAGE and at the "Windows Installer Location" I chose "Extracted engine from setup.exe", on next panel I chose to cache in windows folder.

But I'm still wondering why after an upgrade this dll is not installed knowing that no advertise or publishing is set.

Thanks,

Edited by aldebarande, 16 January 2008 - 23:05.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 January 2008 - 19:48

Did you generate a log? Did you find any SELMGR errors in it?

Caching the install in the Windows folder requires admin rights. It may be better to cache it in a user writable location.

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 21 January 2008 - 09:56

QUOTE
2- make sure that the exe is able to perform the just in time installation like the msi. Is that possible ?

Yes - when a program detects that it needs a feature that isn't available yet, it can call MsiInstallFeature to install a feature. Windows Installer has more functions, eg. to detect the state of a feature (check whether it is actually Install on First Use), to repair a missing component, retrieve an install folder of a component etc.