/build/static/layout/Breadcrumb_cap_w.png

Doubleclick on file as Advertising entry-point shall trigger self-repair

Hi Guys,
i'm sitting in front of a problem. I need to install and configure a MSI package with user specific regestry setting. The application will be installed from an admin account and the a user logs on. At this point the userspecific registry setting should be installed by doubleclicking on the "*.exe" file of the software. So the endproduct shall be a selfrepair if the user clicks on the exe in the datasystem (not over shortcut).
Active setup is not enough for this situation and the customer wants this feature. I activated advertising shortcuts but this is not enough for him. Have you got an idea for this problem? Maybe a dll function call can initiate the selfrepair too but i dont know how to set up exe or dll files as advertising entry points.

I need quick help!
Thanks
Tom

0 Comments   [ + ] Show comments

Answers (6)

Posted by: jmcfadyen 12 years ago
5th Degree Black Belt
0
advertise the exe
Posted by: jmcfadyen 12 years ago
5th Degree Black Belt
0
i suppose I should qualift that a little.

if it is a com exe you can advertise the com. alternatively there is a very old utility written by a fellow called stefan hotan.

i think it was called entry point commandline or something like that which could advertise various items.
Posted by: fox_01 12 years ago
Yellow Belt
0
Great thanks for your answer. Can you tell me how advertise a com exe or how i can make the exe a com? Is this the same way like advertising dll's in the class table? I will look for the cmd tool sounds interesting.

Tom
Posted by: mayankjohri 12 years ago
Senior Yellow Belt
0
by com he meant COM object not .com file. you can create a advertise shortcut instead of normal shortcut for self healing.
Posted by: yuri 12 years ago
Orange Belt
0
So the user starts the application using the executable instead of a shortcut in the Start Menu?
Perhaps you are allowed to use an advertised shortcut in the "Program Files\Application Name" folder (so a shortcut beside the executable instead of in the Start Menu)

PS. Why is Active Setup not enough?
Posted by: pjgeutjens 12 years ago
Red Belt
0
A little quote for you from the Windows Installer help outlining the different options for creating an advertised entry-point:

The following advertisement capabilities are available on Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, and Windows 2000.


  • Shortcuts and their icons.
  • Extensions and their icons specified in the ProgId Table.
  • Shell and command Verbs registered underneath the ProgId key.
  • CLSID contexts and InProcHandler.
  • Install-On-Demand through OLE is only available programmatically through CoCreateInstance (C/C++), and CreateObject Function (Visual Basic) or GetObject Function (Visual Basic).

Note AppId and Typelib information is only written when an advertised component is installed.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ