It's annoying.  This old blog entry should explain more: 
http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx


Lanteigne, Alan wrote:
> Hello Wix World:
>
> While trying to setup a shortcut to an EXE, I'm getting this error:
>
> ICE64: The directory ProgramMenuDir is in the user profile but is not listed 
> in the RemoveFile table.
>
> I thought I had done everything correctly but apparently I'm missing 
> something.  Googling shows something about ProgramMenuFolder being specific 
> to a user's profile, but I'm trying to setup this shortcut for "All Users"... 
> not just one user.  For one thing, I want newly created users (after the app 
> is installed) to have the shortcut appear.  Here's what I'm doing:
>
>         <Directory Id="sys32folder" Name="System32">
>
>           <Component Id="ID_COM_myTest" 
> Guid="193119C5-AF4B-4432-9406-FFF1C34DE71D">
>             <File Id=" myTestFile" Name=" myTest.exe" 
> Source="BuildFiles\System32\ myTest.exe" Vital="yes" KeyPath="yes" DiskId="1" 
> />
>             <Shortcut Id=" myTestsm" Directory="Dir_MyStartmenuSubDir" 
> Name="Run myTest " Icon="myTestIcon" IconIndex="0" Show="normal" 
> WorkingDirectory="sys32Folder" />
>           </Component>
>
>           <Directory Id="ProgramFilesFolder" SourceName="Program Files 
> Folder" />
>
>           <Directory Id="ProgramMenuFolder" Name="Programs">
>             <Directory Id="ProgramMenuDir" Name="My App Folder" />
>           </Directory>
>           <Directory Id="Dir_MyStartmenuSubDir" Name="My App Folder" />
>
>         </Directory>
>
> I later define the Icon and set the ALLUSERS property to 1.
>
> What am I missing or not understanding?
>
> Thanks,
>
> Alan
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to