Hi,

Just to add, I have tried setting one of components manually as 
permanent=yes in the wxs file of the data directory(trunkdata.wxs, i 
have created this by heat). This seems to leave the folder structure and 
component that i marked a permanent. Is there a way in heat that i can 
assign the attribute permanent=yes to all the components generated?

Regards,
SuvraJyoti

On 22-11-2013 16:15, Suvrajyoti Panda wrote:
> Hi Carter,
>
> This does not work in the first place as <Directory> element is not 
> supported inside a Component. Moreover i need that only the data 
> directory be left behind on uninstall.
>
> Reiterating once more if i have not specified correctly earlier:
>
> Under C:\Energy Solutions(Not using x86 anymore as 
> ealier)\PipelineOptimizer there are four folders are created by 
> installer under : data, db, engine , security.On uninstallation i want 
> that only the data folder should be left behind. So finally i should 
> have only data folder under C:\Energy Solutions\PipelineOptimizer. 
> Please let me know if there is some other way.
>
> Regards,
> SuvraJyoti
>
>
>
> On 21-11-2013 23:44, Carter Young wrote:
>> Do Like So:
>>
>> <Directory Id='TARGETDIR' Name='SourceDir'>
>>               <Directory Id='EnergySolutions' Name='Energy Solutions'>
>>               <Directory Id='TORTDEMO' Name='PipelineOptimizer 6.0.0'>
>>               <Component Id="FOLDERTOREMOVE"
>>    Guid="9D5FEECE-74FE-45A2-BD34-41562EC8ED16">
>>                <Directory Id='AppDataFolder'>
>>                 <Directory Id='TORTDEMODATA' Name='PipelineOptimizer 
>> 6.0.0'>
>>                 <RemoveFolder Id='TORTDEMO' On='uninstall'/>
>>
>> This puts the Data Directory in C:\Users\<UserName>\Local\AppData and
>> sgould leave it after uninstall.
>>
>>
>> Quoting Suvrajyoti Panda <suvrajyo...@contata.co.in>:
>>
>>> Hi Guys,
>>>
>>> I have created an installer in WIX that creates the below directory
>>> structure :
>>>
>>>
>>> The structure that i have used in main .wxs file is as below:
>>>
>>> <Directory Id='TARGETDIR' Name='SourceDir'>
>>>         <Directory Id='ProgramFilesFolder'>
>>>           <Directory Id='EnergySolutions' Name='Energy Solutions'>
>>>             <Directory Id='TORTDEMO' Name='PipelineOptimizer 6.0.0'>
>>>             <Component Id="FOLDERTOREMOVE"
>>> Guid="9D5FEECE-74FE-45A2-BD34-41562EC8ED16">
>>>               <RemoveFolder Id='TORTDEMO' On='uninstall'/>
>>>
>>>             </Component>
>>>
>>> No what happens when i uninstall is that the whole "Energy Solutions"
>>> folder gets uninstalled. I do not want that to happen. I want that the
>>> structure C:\Program Files (x86)\Energy Solutions\PipelineOptimizer
>>> 6.0.0 should be there and when i uninstall then only the 'data'
>>> directory should remain. Please let me know how do i achieve the same.
>>>
>>> Thanks in advance.
>>>
>>> Regards,
>>> Suvra Jyoti
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>  
>>>
>>> Shape the Mobile Experience: Free Subscription
>>> Software experts and developers: Be at the forefront of tech 
>>> innovation.
>>> Intel(R) Software Adrenaline delivers strategic insight and 
>>> game-changing
>>> conversations that shape the rapidly evolving mobile landscape. Sign 
>>> up now.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk 
>>>
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>  
>>
>> Shape the Mobile Experience: Free Subscription
>> Software experts and developers: Be at the forefront of tech innovation.
>> Intel(R) Software Adrenaline delivers strategic insight and 
>> game-changing
>> conversations that shape the rapidly evolving mobile landscape. Sign 
>> up now.
>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk 
>>
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to