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
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)
Please log in to answer
Posted by:
jmcfadyen
13 years ago
Posted by:
fox_01
13 years ago
Posted by:
mayankjohri
13 years ago
Posted by:
yuri
13 years ago
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?
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
13 years ago
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.
so that the conversation will remain readable.