Hi Nir,
Thanks for the info. Does the <CreateFolder /> removes the main folder
where all my components will be installed. I should also be removing the
folder that could be created by the executable. ie consider apps and temp
inside the main folder. I tried:

        <RemoveFolder Id="LeftOverAppsRemove" On="uninstall"
Directory="apps"/>
        <RemoveFolder Id="LeftOverTempRemove" On="uninstall"
Directory="temp"/>
but during the compilation I get "Unresolved reference to symbol
'Directory:apps' in section 'Fragment:' ". How can I delete the leftover
folder adding it in above code.
Thanks


On Thu, Feb 12, 2015 at 12:18 AM, Nir Bar <nir....@panel-sw.co.il> wrote:

> You need to manually generate a Guid for the component.
> Also add a CreateFolder element to the component to ensure it would delete
> the folder on uninstall:
>
> <Component Id="RemovingFiles" *Guid="GENERATE-A-GUID-HERE"*>
> *     <CreateFolder />*
>     <RemoveFile Id="ConfigRemove" Name="lpa.config" On="uninstall"/>
>     <RemoveFile Id="LogsRemove" Name="*.log" On="uninstall"/>
>     <RemoveFile Id="ProductCodeRemove" Name="productcode.txt"
> On="uninstall"/>
>   </Component>
>
> Nir
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
*sarvagya*
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to