Re: [WiX-users] Wix MSI not uninstalling files when package uninstalled

2013-10-09 Thread Peng Lv
I met with this issue either, my solution is adding a custom action dll to
delete all files while uninstall, but this is way too naive.


2013/10/10 Walter Dexter 

> I posted this at Stackoverflow as well, but I'm just at a loss for what to
> even look at, so I'm hoping someone can point me in a good direction.
>
> I have been using WiX to create an installer for my project. It's fairly
> simple, just drop some files in three different directories and run a
> VBScript to generate one last file.
>
>  I'm a total WiX and MSI noob. The "standard" thing to use at work is WISE
> but I just can't figure out what to do with that at all, so I gave WiX a
> try.
>
> After some difficulties with the VBS I got the install working. When I
> uninstall the package disappears out of Control Panel but the files that
> were installed are still there. I know the one I generated on the fly is
> going to be unless I do something special to remove it, but the others
> should just go away, right?
>
> I have install and uninstall logs, and also have posted the WiX source
> file. Links are below.
>
> Any help is much appreciated!
>
> install log<
> https://docs.google.com/file/d/0B0qy0SfToYUzMUJYMk00UjhreDg/edit?usp=sharing
> >
>  (
>
> https://docs.google.com/file/d/0B0qy0SfToYUzUUtXVUxpQ0lESm8/edit?usp=sharing
> )
>
> WiX source<
> https://docs.google.com/file/d/0B0qy0SfToYUzR0FDMXc2cXhvMDQ/edit?usp=sharing
> >
>  (
>
> https://docs.google.com/file/d/0B0qy0SfToYUzR0FDMXc2cXhvMDQ/edit?usp=sharing
> )
>
> uninstall log<
> https://docs.google.com/file/d/0B0qy0SfToYUzUUtXVUxpQ0lESm8/edit?usp=sharing
> >
>  (
>
> https://docs.google.com/file/d/0B0qy0SfToYUzMUJYMk00UjhreDg/edit?usp=sharing
> )
>
> Note that this is being installed on Server 2003.
>
> The package is using explicit paths and drive letters. I know that isn't
> considered best practice, but that's where the files need to go. This
> doesn't go to a variety of computer types and configurations; there are
> over ten thousand of these systems in our retail locations and they're all
> identical.
>
> --
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Best Regards,
Peng Lv

Nanjing University, Computer Science & Technology
Email: penn...@gmail.com
Website: http://www.rebornix.com
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] File Associations with external programs

2013-09-20 Thread Peng Lv
Hi,
  I'm developing a plugin for XMetaL(an document editor), and set XMetaL
the default program for a new file type, let's say, myxml. I think Wix
Progid element can help dealing with all of this. My code is as below:



Here is my scenario: First I create a file called abc.myxml, the current
icon of this file is blank page. Then I install my plugin, it sets XMetaL
as the deafult program of myxml files. After the full installation, the
icon of myxml files should change to XMetaL's icon. When I double click
abc.myxml, it will be opened by XMetaL.
 What troubles me is that after installing the plugin, the icon of myxml
files won't change. When I try to open abc.myxml, it raises XMetaL, which
means, file associations take effect.

  I found this on MSDN: "Note   Any time a file association is created
or changed, notify the system that a change has been made by calling
SHChangeNotify, specifying the SHCNE_ASSOCCHANGED event. If this is
not done, the Shell might not recognize any changes made until the
system restarts."
  I write a tiny c++ program to send SHChangeNotify and it works. But
does anyone know how to generate this in Wix natively?


  This is my first time asking questions in mail threads. Correct me
if I made something wrong, thanks in advance.


-- 
Best Regards,
Peng Lv

Nanjing University, Computer Science & Technology
Mobile:86-186-2643-8113
Email: penn...@gmail.com
Website: http://www.rebornix.com
--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users