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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
advertise the exe
Answered 05/01/2011 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
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.
Answered 05/01/2011 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
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
Answered 05/01/2011 by: fox_01
Yellow Belt

Please log in to comment
0
by com he meant COM object not .com file. you can create a advertise shortcut instead of normal shortcut for self healing.
Answered 05/02/2011 by: mayankjohri
Senior Yellow Belt

Please log in to comment
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?
Answered 05/02/2011 by: yuri
Orange Belt

Please log in to comment
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.
Answered 05/02/2011 by: pjgeutjens
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity