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

App asking source while repair


3 replies to this topic

Steve55

Steve55
  • Members
  • 14 posts

Posted 14 September 2005 - 23:58

Hi:

I have to install a file during self repair. But after launching the shortcut the Windows Installer is asking for the source of the MSI. I dont want users to point to the source as they dont have access to it. How can I get around it? The file should be installed to users My Documents folder. Thanks.

Steve

mandy

mandy
  • Members
  • 121 posts

Posted 07 October 2005 - 16:25

Ideally, your users should have access to the original source, but here's the trick anyway...

Copy the file to a machine location initially, and then use a "DuplicateFile" table entry to make the profile-based copy during self repair. Remember that the keypath fo the "user" component should be an HKCU registry key.


Steve55

Steve55
  • Members
  • 14 posts

Posted 07 October 2005 - 16:27

Thanka a lot. This is what I did with this problem at that time.

mandy

mandy
  • Members
  • 121 posts

Posted 07 October 2005 - 16:33

I hadn't realised it was such an old post!! blink.gif

Anyway, it might help someone else out at a later date. biggrin.gif