Hi,
 
I am checking out wix 3 help doc (How To: Create a Shortcut on the Start
Menu). I am wondering why it is necessary to write registry to HKCU if
product is installed for all users. Suppose one admin of system installed
the product, what will happen if another admin of system uninstall the
product? Will the registry be removed also? Suppose one admin of system
installed the product, and another admin of system upgrade the product to
higher version. Will the registry for previous admin be removed?
 
  <DirectoryRef Id="ApplicationProgramsFolder">
      <Component Id="ApplicationShortcut" Guid="PUT-GUID-HERE">
           <Shortcut Id="ApplicationStartMenuShortcut" 
                      Name="My Application Name"
                      Description="My Application Description"
                      Target="[APPLICATIONROOTDIRECTORY]MyApplication.exe"
                      WorkingDirectory="APPLICATIONROOTDIRECTORY"/>
            <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
            <RegistryValue Root="HKCU"
       Key="Software\Microsoft\MyApplicationName" Name="installed" 
Type="integer"
       Value="1" KeyPath="yes"/>
        </Component>
    </DirectoryRef>
_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to