Generally you don't need to worry about the user running the same MSI
again. For example, if you are using a Wix UI then running the same
MSI again results in a Change/Repair/Remove dialog. Running the same
MSI again doesn't result in installing the product again (or a copy of
it) but it does result in a maintenance mode. So this problem you're
trying to solve shouldn't exist.  I think the problem is that you have
a custom action that may be running at install time as well as repair
and uninstall too maybe. The condition I use on a CA for that is -Not
Installed- so it runs only if the product is not already installed.
---------------
Phil Wilson


On Mon, Mar 23, 2015 at 9:43 AM, Sarvagya Pant <sarvagya.p...@gmail.com> wrote:
> Hi Rob, Thanks. I think RemoveFolderEx is present in WixUtil. I will give
> it a go. For the user to prevent running installer again, if product is
> installed, How do I show a pop up indicating the product is installed?
> Thanks.
>
> On Mon, Mar 23, 2015 at 10:12 PM, Rob Mensching <r...@firegiant.com> wrote:
>
>> RemoveFoldersEx?
>>
>> _____________________________________________________________
>>  Short replies here. Complete answers over there:
>> http://www.firegiant.com/
>>
>>
>> -----Original Message-----
>> From: Sarvagya Pant [mailto:sarvagya.p...@gmail.com]
>> Sent: Monday, March 23, 2015 9:05 AM
>> To: General discussion about the WiX toolset.
>> Subject: Re: [WiX-users] Prevent run of Custom action if product is
>> installed.
>>
>> I need to Remove Folders as well. RemoveFile only works to delete the
>> File, I think so. The executable could create Folder within folder and
>> files too.
>>
>>
>> ------------------------------------------------------------------------------
>> 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

------------------------------------------------------------------------------
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