If cmd.exe returns anything but zero that will be treated as an error. This
is a really bad way to remove a directory, by the way. There is no rollback,
for one.

The RemoveFoldersEx in http://wixcontrib.codeplex.com would be better.


On Thu, Oct 28, 2010 at 7:50 AM, sagar shinde <sagar.i...@gmail.com> wrote:

> Thank you for reply,
> But still its not working.
>
> i have same custome action in my another MSI which is made for 32bit
> machine,and it works fine.
>
> is it issue of Solution configuration is Debug and Solution platform is x64
>
> as MSI is made for 64bit machine
>
>
>
> On Thu, Oct 28, 2010 at 7:43 PM, Nick Ramirez <nickra...@hotmail.com>
> wrote:
>
> >
> > In the log, does it give a specific error code after the part where it
> says
> > it's returning a status of 3? Oftentimes it will and you can use that to
> > look up its meaning.
> >
> > I noticed that you're running this custom action as "immediate". If
> you're
> > deleting files, should it come during the deferred stage? That way it can
> > be
> > rolled back if there's a failure.
> >
> > If the folder is empty at the time you're trying to delete it, could you
> > use
> > the WiX element RemoveFolder?
> >
> > -----
> > Nick Ramirez
> >
> > Learn WiX with the book:
> >
> >
> https://www.packtpub.com/wix-a-developers-guide-to-windows-installer-xml/book
> > WiX: A Developer's Guide to Windows Installer XML
> > --
> > View this message in context:
> >
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-tp5677972p5682719.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> >
> >
> >
> ------------------------------------------------------------------------------
> > Nokia and AT&T present the 2010 Calling All Innovators-North America
> > contest
> > Create new apps & games for the Nokia N8 for consumers in  U.S. and
> Canada
> > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> > marketing
> > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> > http://p.sf.net/sfu/nokia-dev2dev
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to