Re: [WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread Levi Wilson
Cached as in c:\Windows\Installer cached? I uninstalled my previous app to
see if a fresh install would do it as well...same problem.


On Thu, Mar 20, 2014 at 12:54 AM, Rob Mensching  wrote:

> Maybe cached MSI?
>
> ___
>  FireGiant  |  Dedicated support for the WiX toolset  |
> http://www.firegiant.com/
>
> -Original Message-
> From: Levi Wilson [mailto:l...@leviwilson.com]
> Sent: Wednesday, March 19, 2014 9:46 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] C# Custom Actions - Renaming Functions
>
> John,
>
> I did not clear out my temp directories. I assumed everything it built
> would be underneath my project. I can try though.
>
> I did export from Orca and used `dumpbin` to view the exported functions.
> My newly named method was there.
>
>
> On Wed, Mar 19, 2014 at 7:09 PM, John Ludlow  >wrote:
>
> > This may be a silly question, but have you also cleared out your temp
> > directories? Also, did you
> >
> > I think it should be possible to export the DLL using Orca to a file
> > on disk, and then examine it to see what exported functions it has
> > (say, with Dependency Walker). This should settle the question of
> > whether it's the exported function that's the issue or something else.
> >
> >
> > On 19 March 2014 22:07, Levi Wilson  wrote:
> >
> > > Yes, I actually started by using ReSharper to rename my CA method,
> > > as I have unit tests around all of them. After that I updated all of
> > > my wxs files so that they are correct. I backed out the changes for
> > > now, but I
> > can
> > > try it again later to see what the full log is. I may be able to put
> > > together a sample app to illustrate it on GitHub or something.
> > >
> > > Thanks,
> > >
> > > Levi
> > >
> > >
> > > On Wed, Mar 19, 2014 at 6:00 PM, Hoover, Jacob
> > > wrote:
> > >
> > > > I assume you've also modified your C# CustomAction to include the
> > updated
> > > > name and rebuilt it?  Do you have a full log available (or at
> > > > least
> > some
> > > of
> > > > the lines before that where the CA is being extracted).  If need
> > > > be,
> > one
> > > > could peek into the temp file after extraction and ensure it's
> > > > using
> > the
> > > > updated assembly.
> > > >
> > > > -Original Message-
> > > > From: Levi Wilson [mailto:l...@leviwilson.com]
> > > > Sent: Wednesday, March 19, 2014 4:53 PM
> > > > To: wix-users@lists.sourceforge.net
> > > > Subject: [WiX-users] C# Custom Actions - Renaming Functions
> > > >
> > > > Is it me, or is it impossible to rename a C# custom action
> > > > function
> > once
> > > > you've built it?
> > > >
> > > > My wxs files are correct to reflect the new name. I have verified
> > > > that
> > > the
> > > > binary file that is in there has the newly named method after I
> > > > build
> > it
> > > (I
> > > > saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
> > > > However, when I go to run the install I get:
> > > >
> > > > Error 1723. There is a problem with this Windows Installer
> > > > package. A
> > DLL
> > > > required for this install to complete could not be run. Contact
> > > > your support personnel or package vendor.  Action
> > ValidateSQLAdminCredentials,
> > > > entry: ValidateSQLAdminCredentials, library:
> > > > C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp
> > > >
> > > > The one that is reflected isn't even the one that I renamed, but
> > > > that would be the first time it tried to load my DLL.
> > > >
> > > > I've cleared out my bin and obj directories in my CA project as
> > > > well as
> > > my
> > > > installer project.
> > > >
> > > > What am I missing or where can I look to help troubleshoot? I'm
> > > > using
> > Wix
> > > > 3.8
> > > >
> > > >
> > >
> > --
> > 
> > > > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases"
> > is
> > > > the definitive new guide to graph databases and their applications.
> > > Written
> > > > by three acclaimed leaders in the field, this first edition is now
> > > > available. Download your free book today!
> > > > http://p.sf.net/sfu/13534_NeoTech
> > > > ___
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > > >
> > > >
> > >
> > --
> > 
> > > > Learn Graph Databases - Download FREE O'Reilly Book "Graph
> > > > Databases" is the definitive new guide to graph databases and
> > > their
> > > > applications. Written by three acclaimed leaders in the field,
> > > > this first edition is now available. Download your free book today!
> > > > http://p.sf.net/sfu/13534_NeoTech
> > > > ___
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > >

Re: [WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread Rob Mensching
Maybe cached MSI?

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: Levi Wilson [mailto:l...@leviwilson.com] 
Sent: Wednesday, March 19, 2014 9:46 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] C# Custom Actions - Renaming Functions

John,

I did not clear out my temp directories. I assumed everything it built would be 
underneath my project. I can try though.

I did export from Orca and used `dumpbin` to view the exported functions.
My newly named method was there.


On Wed, Mar 19, 2014 at 7:09 PM, John Ludlow wrote:

> This may be a silly question, but have you also cleared out your temp 
> directories? Also, did you
>
> I think it should be possible to export the DLL using Orca to a file 
> on disk, and then examine it to see what exported functions it has 
> (say, with Dependency Walker). This should settle the question of 
> whether it's the exported function that's the issue or something else.
>
>
> On 19 March 2014 22:07, Levi Wilson  wrote:
>
> > Yes, I actually started by using ReSharper to rename my CA method, 
> > as I have unit tests around all of them. After that I updated all of 
> > my wxs files so that they are correct. I backed out the changes for 
> > now, but I
> can
> > try it again later to see what the full log is. I may be able to put 
> > together a sample app to illustrate it on GitHub or something.
> >
> > Thanks,
> >
> > Levi
> >
> >
> > On Wed, Mar 19, 2014 at 6:00 PM, Hoover, Jacob
> > wrote:
> >
> > > I assume you've also modified your C# CustomAction to include the
> updated
> > > name and rebuilt it?  Do you have a full log available (or at 
> > > least
> some
> > of
> > > the lines before that where the CA is being extracted).  If need 
> > > be,
> one
> > > could peek into the temp file after extraction and ensure it's 
> > > using
> the
> > > updated assembly.
> > >
> > > -Original Message-
> > > From: Levi Wilson [mailto:l...@leviwilson.com]
> > > Sent: Wednesday, March 19, 2014 4:53 PM
> > > To: wix-users@lists.sourceforge.net
> > > Subject: [WiX-users] C# Custom Actions - Renaming Functions
> > >
> > > Is it me, or is it impossible to rename a C# custom action 
> > > function
> once
> > > you've built it?
> > >
> > > My wxs files are correct to reflect the new name. I have verified 
> > > that
> > the
> > > binary file that is in there has the newly named method after I 
> > > build
> it
> > (I
> > > saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
> > > However, when I go to run the install I get:
> > >
> > > Error 1723. There is a problem with this Windows Installer 
> > > package. A
> DLL
> > > required for this install to complete could not be run. Contact 
> > > your support personnel or package vendor.  Action
> ValidateSQLAdminCredentials,
> > > entry: ValidateSQLAdminCredentials, library:
> > > C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp
> > >
> > > The one that is reflected isn't even the one that I renamed, but 
> > > that would be the first time it tried to load my DLL.
> > >
> > > I've cleared out my bin and obj directories in my CA project as 
> > > well as
> > my
> > > installer project.
> > >
> > > What am I missing or where can I look to help troubleshoot? I'm 
> > > using
> Wix
> > > 3.8
> > >
> > >
> >
> --
> 
> > > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases"
> is
> > > the definitive new guide to graph databases and their applications.
> > Written
> > > by three acclaimed leaders in the field, this first edition is now 
> > > available. Download your free book today!
> > > http://p.sf.net/sfu/13534_NeoTech
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> >
> --
> 
> > > Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> > > Databases" is the definitive new guide to graph databases and
> > their
> > > applications. Written by three acclaimed leaders in the field, 
> > > this first edition is now available. Download your free book today!
> > > http://p.sf.net/sfu/13534_NeoTech
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> --
> 
> > Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> > Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field, this 
> > first edition is now available. Download your free book today!
> >

Re: [WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread Levi Wilson
John,

I did not clear out my temp directories. I assumed everything it built
would be underneath my project. I can try though.

I did export from Orca and used `dumpbin` to view the exported functions.
My newly named method was there.


On Wed, Mar 19, 2014 at 7:09 PM, John Ludlow wrote:

> This may be a silly question, but have you also cleared out your temp
> directories? Also, did you
>
> I think it should be possible to export the DLL using Orca to a file on
> disk, and then examine it to see what exported functions it has (say, with
> Dependency Walker). This should settle the question of whether it's the
> exported function that's the issue or something else.
>
>
> On 19 March 2014 22:07, Levi Wilson  wrote:
>
> > Yes, I actually started by using ReSharper to rename my CA method, as I
> > have unit tests around all of them. After that I updated all of my wxs
> > files so that they are correct. I backed out the changes for now, but I
> can
> > try it again later to see what the full log is. I may be able to put
> > together a sample app to illustrate it on GitHub or something.
> >
> > Thanks,
> >
> > Levi
> >
> >
> > On Wed, Mar 19, 2014 at 6:00 PM, Hoover, Jacob
> > wrote:
> >
> > > I assume you've also modified your C# CustomAction to include the
> updated
> > > name and rebuilt it?  Do you have a full log available (or at least
> some
> > of
> > > the lines before that where the CA is being extracted).  If need be,
> one
> > > could peek into the temp file after extraction and ensure it's using
> the
> > > updated assembly.
> > >
> > > -Original Message-
> > > From: Levi Wilson [mailto:l...@leviwilson.com]
> > > Sent: Wednesday, March 19, 2014 4:53 PM
> > > To: wix-users@lists.sourceforge.net
> > > Subject: [WiX-users] C# Custom Actions - Renaming Functions
> > >
> > > Is it me, or is it impossible to rename a C# custom action function
> once
> > > you've built it?
> > >
> > > My wxs files are correct to reflect the new name. I have verified that
> > the
> > > binary file that is in there has the newly named method after I build
> it
> > (I
> > > saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
> > > However, when I go to run the install I get:
> > >
> > > Error 1723. There is a problem with this Windows Installer package. A
> DLL
> > > required for this install to complete could not be run. Contact your
> > > support personnel or package vendor.  Action
> ValidateSQLAdminCredentials,
> > > entry: ValidateSQLAdminCredentials, library:
> > > C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp
> > >
> > > The one that is reflected isn't even the one that I renamed, but that
> > > would be the first time it tried to load my DLL.
> > >
> > > I've cleared out my bin and obj directories in my CA project as well as
> > my
> > > installer project.
> > >
> > > What am I missing or where can I look to help troubleshoot? I'm using
> Wix
> > > 3.8
> > >
> > >
> >
> --
> > > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases"
> is
> > > the definitive new guide to graph databases and their applications.
> > Written
> > > by three acclaimed leaders in the field, this first edition is now
> > > available. Download your free book today!
> > > http://p.sf.net/sfu/13534_NeoTech
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> >
> --
> > > Learn Graph Databases - Download FREE O'Reilly Book
> > > "Graph Databases" is the definitive new guide to graph databases and
> > their
> > > applications. Written by three acclaimed leaders in the field,
> > > this first edition is now available. Download your free book today!
> > > http://p.sf.net/sfu/13534_NeoTech
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> --
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the f

Re: [WiX-users] Stuck using 3.5 till harvesting returns to WIX

2014-03-19 Thread Peter Hecht
I know that Heat is included in 3.8.  What I'm saying is the integration of
it with Visual Studio 2013 is not there.

I can't simple put a:



in my wxs and have all the projects in the solution harvested
automatically.  Unless I missing something.  It was a very nice feature.
Am I missing the integration with VS 2013 and WIX 3.8?

It seems I have to add each project's output manually.  So any change to a
jpg or png file I have to add to the wxs file.

Does that make it clearer?

Thanks,

Pete
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
Ahh ok...

-Original Message-
From: Rob Mensching [mailto:r...@firegiant.com] 
Sent: Wednesday, March 19, 2014 4:29 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

That's not an MSI. That's a bootstrapper. That's why (I think it was) Jacob 
suggested using a Bundle. Then you get full control over the UI.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 4:21 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Do an uninstall on sql server and you get a full Ui with a warning message, etc 
etc, so there is a way around it, I just need to figure it out.

-Original Message-
From: John Ludlow [mailto:john.ludlow...@gmail.com]
Sent: Wednesday, March 19, 2014 4:12 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

That's probably because the MSI is running in the just-a-progress-bar mode 
during uninstall. MSI message boxes are being suppressed.


On 19 March 2014 22:56, Pavan Konduru  wrote:

> Did you declare the custom action in the .wxs file?
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 3:29 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] uI on silent uninstall
>
> I did that and it didn't work.
>
> -Original Message-
> From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
> Sent: Wednesday, March 19, 2014 3:20 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] uI on silent uninstall
>
> Make the condition REMOVE="ALL"
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 2:49 PM
> To: General discussion about the WiX toolset.
> Subject: [WiX-users] uI on silent uninstall
>
> Ok this is what I have so far:
>
> Product.wxs
>
>
>   
>After="InstallFinalize">Remove
> After="UninstallMessage">Remove
>
> CustomAction.cs
>
> [CustomAction]
>   public static ActionResult UninstallMessage(Session session)
>   {
>   if (session == null)
>   {
>
> logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCult
> ure, "{0} ; {1}", Resources.ArgumentNullError, "session"), session);
>   throw new ArgumentNullException("session", 
> Resources.ArgumentNullError);
>   }
>
>   // This is just to display a message box that informs the 
> user that they will have to remove the databases manually
>   StringBuilder notificationMessage = new StringBuilder("The 
> actual databases will not be removed from the server by this.");
>   notificationMessage.Append("\r\n\r\n");
>   notificationMessage.Append("You will have to manually remove 
> the Databases from your server.");
>
>   Record record = new Record();
>   record.FormatString = notificationMessage.ToString();
>   MessageResult value = session.Message(InstallMessage.Info | 
> (InstallMessage)MessageIcon.Warning | 
> (InstallMessage)MessageButtons.OK,
> record);
>
>   return ActionResult.Success;
>   }
>
> And im still not getting the message box.  So what am I doing wrong?
>
> Thanks
>
> Woody
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> ht

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Rob Mensching
That's not an MSI. That's a bootstrapper. That's why (I think it was) Jacob 
suggested using a Bundle. Then you get full control over the UI.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 4:21 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Do an uninstall on sql server and you get a full Ui with a warning message, etc 
etc, so there is a way around it, I just need to figure it out.

-Original Message-
From: John Ludlow [mailto:john.ludlow...@gmail.com]
Sent: Wednesday, March 19, 2014 4:12 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

That's probably because the MSI is running in the just-a-progress-bar mode 
during uninstall. MSI message boxes are being suppressed.


On 19 March 2014 22:56, Pavan Konduru  wrote:

> Did you declare the custom action in the .wxs file?
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 3:29 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] uI on silent uninstall
>
> I did that and it didn't work.
>
> -Original Message-
> From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
> Sent: Wednesday, March 19, 2014 3:20 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] uI on silent uninstall
>
> Make the condition REMOVE="ALL"
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 2:49 PM
> To: General discussion about the WiX toolset.
> Subject: [WiX-users] uI on silent uninstall
>
> Ok this is what I have so far:
>
> Product.wxs
>
>
>   
>After="InstallFinalize">Remove
> After="UninstallMessage">Remove
>
> CustomAction.cs
>
> [CustomAction]
>   public static ActionResult UninstallMessage(Session session)
>   {
>   if (session == null)
>   {
>
> logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCult
> ure, "{0} ; {1}", Resources.ArgumentNullError, "session"), session);
>   throw new ArgumentNullException("session", 
> Resources.ArgumentNullError);
>   }
>
>   // This is just to display a message box that informs the 
> user that they will have to remove the databases manually
>   StringBuilder notificationMessage = new StringBuilder("The 
> actual databases will not be removed from the server by this.");
>   notificationMessage.Append("\r\n\r\n");
>   notificationMessage.Append("You will have to manually remove 
> the Databases from your server.");
>
>   Record record = new Record();
>   record.FormatString = notificationMessage.ToString();
>   MessageResult value = session.Message(InstallMessage.Info | 
> (InstallMessage)MessageIcon.Warning | 
> (InstallMessage)MessageButtons.OK,
> record);
>
>   return ActionResult.Success;
>   }
>
> And im still not getting the message box.  So what am I doing wrong?
>
> Thanks
>
> Woody
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> -

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
Do an uninstall on sql server and you get a full Ui with a warning message, etc 
etc, so there is a way around it, I just need to figure it out.

-Original Message-
From: John Ludlow [mailto:john.ludlow...@gmail.com] 
Sent: Wednesday, March 19, 2014 4:12 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

That's probably because the MSI is running in the just-a-progress-bar mode 
during uninstall. MSI message boxes are being suppressed.


On 19 March 2014 22:56, Pavan Konduru  wrote:

> Did you declare the custom action in the .wxs file?
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 3:29 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] uI on silent uninstall
>
> I did that and it didn't work.
>
> -Original Message-
> From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
> Sent: Wednesday, March 19, 2014 3:20 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] uI on silent uninstall
>
> Make the condition REMOVE="ALL"
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 2:49 PM
> To: General discussion about the WiX toolset.
> Subject: [WiX-users] uI on silent uninstall
>
> Ok this is what I have so far:
>
> Product.wxs
>
>
>   
>After="InstallFinalize">Remove
> After="UninstallMessage">Remove
>
> CustomAction.cs
>
> [CustomAction]
>   public static ActionResult UninstallMessage(Session session)
>   {
>   if (session == null)
>   {
>
> logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCult
> ure, "{0} ; {1}", Resources.ArgumentNullError, "session"), session);
>   throw new ArgumentNullException("session", 
> Resources.ArgumentNullError);
>   }
>
>   // This is just to display a message box that informs the 
> user that they will have to remove the databases manually
>   StringBuilder notificationMessage = new StringBuilder("The 
> actual databases will not be removed from the server by this.");
>   notificationMessage.Append("\r\n\r\n");
>   notificationMessage.Append("You will have to manually remove 
> the Databases from your server.");
>
>   Record record = new Record();
>   record.FormatString = notificationMessage.ToString();
>   MessageResult value = session.Message(InstallMessage.Info | 
> (InstallMessage)MessageIcon.Warning | 
> (InstallMessage)MessageButtons.OK,
> record);
>
>   return ActionResult.Success;
>   }
>
> And im still not getting the message box.  So what am I doing wrong?
>
> Thanks
>
> Woody
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
Yes.  I know that some of the Microsoft installers also throw a UI during the 
uninstall form the control panel so there has to be a way to override the 
/qn..arghh!

Thanks

Woody

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] 
Sent: Wednesday, March 19, 2014 3:56 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Did you declare the custom action in the .wxs file?

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 3:29 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

I did that and it didn't work.

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
Sent: Wednesday, March 19, 2014 3:20 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Make the condition REMOVE="ALL"

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  
  Remove
  Remove

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, "{0} 
; {1}", Resources.ArgumentNullError, "session"), session);
  throw new ArgumentNullException("session", 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder("The actual 
databases will not be removed from the server by this.");
  notificationMessage.Append("\r\n\r\n");
  notificationMessage.Append("You will have to manually remove the 
Databases from your server.");

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

Thanks

Woody
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
__

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread John Ludlow
That's probably because the MSI is running in the just-a-progress-bar mode
during uninstall. MSI message boxes are being suppressed.


On 19 March 2014 22:56, Pavan Konduru  wrote:

> Did you declare the custom action in the .wxs file?
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 3:29 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] uI on silent uninstall
>
> I did that and it didn't work.
>
> -Original Message-
> From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
> Sent: Wednesday, March 19, 2014 3:20 PM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] uI on silent uninstall
>
> Make the condition REMOVE="ALL"
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 2:49 PM
> To: General discussion about the WiX toolset.
> Subject: [WiX-users] uI on silent uninstall
>
> Ok this is what I have so far:
>
> Product.wxs
>
>
>   
>After="InstallFinalize">Remove
> After="UninstallMessage">Remove
>
> CustomAction.cs
>
> [CustomAction]
>   public static ActionResult UninstallMessage(Session session)
>   {
>   if (session == null)
>   {
>
> logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture,
> "{0} ; {1}", Resources.ArgumentNullError, "session"), session);
>   throw new ArgumentNullException("session",
> Resources.ArgumentNullError);
>   }
>
>   // This is just to display a message box that informs the user
> that they will have to remove the databases manually
>   StringBuilder notificationMessage = new StringBuilder("The
> actual databases will not be removed from the server by this.");
>   notificationMessage.Append("\r\n\r\n");
>   notificationMessage.Append("You will have to manually remove the
> Databases from your server.");
>
>   Record record = new Record();
>   record.FormatString = notificationMessage.ToString();
>   MessageResult value = session.Message(InstallMessage.Info |
> (InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK,
> record);
>
>   return ActionResult.Success;
>   }
>
> And im still not getting the message box.  So what am I doing wrong?
>
> Thanks
>
> Woody
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. Written
> by three acclaimed leaders in the field, this first edition is now
> available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. Written
> by three acclaimed leaders in the field, this first edition is now
> available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. Written
> by three acclaimed leaders in the field, this first edition is now
> available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_Ne

Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread kevindelafield
Yes, I do.


Sent from my T-Mobile 4G LTE Device

 Original message 
From: Pavan Konduru 
Date:03/19/2014  7:03 PM  (GMT-05:00)
To: "General discussion about the WiX toolset." 

Subject: Re: [WiX-users] uI on silent uninstall

Did you declare the custom action in the .wxs file?

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 3:29 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

I did that and it didn't work.

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
Sent: Wednesday, March 19, 2014 3:20 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Make the condition REMOVE="ALL"

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  
  Remove
  Remove

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, "{0} 
; {1}", Resources.ArgumentNullError, "session"), session);
  throw new ArgumentNullException("session", 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder("The actual 
databases will not be removed from the server by this.");
  notificationMessage.Append("\r\n\r\n");
  notificationMessage.Append("You will have to manually remove the 
Databases from your server.");

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

Thanks

Woody
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread John Ludlow
This may be a silly question, but have you also cleared out your temp
directories? Also, did you

I think it should be possible to export the DLL using Orca to a file on
disk, and then examine it to see what exported functions it has (say, with
Dependency Walker). This should settle the question of whether it's the
exported function that's the issue or something else.


On 19 March 2014 22:07, Levi Wilson  wrote:

> Yes, I actually started by using ReSharper to rename my CA method, as I
> have unit tests around all of them. After that I updated all of my wxs
> files so that they are correct. I backed out the changes for now, but I can
> try it again later to see what the full log is. I may be able to put
> together a sample app to illustrate it on GitHub or something.
>
> Thanks,
>
> Levi
>
>
> On Wed, Mar 19, 2014 at 6:00 PM, Hoover, Jacob
> wrote:
>
> > I assume you've also modified your C# CustomAction to include the updated
> > name and rebuilt it?  Do you have a full log available (or at least some
> of
> > the lines before that where the CA is being extracted).  If need be, one
> > could peek into the temp file after extraction and ensure it's using the
> > updated assembly.
> >
> > -Original Message-
> > From: Levi Wilson [mailto:l...@leviwilson.com]
> > Sent: Wednesday, March 19, 2014 4:53 PM
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] C# Custom Actions - Renaming Functions
> >
> > Is it me, or is it impossible to rename a C# custom action function once
> > you've built it?
> >
> > My wxs files are correct to reflect the new name. I have verified that
> the
> > binary file that is in there has the newly named method after I build it
> (I
> > saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
> > However, when I go to run the install I get:
> >
> > Error 1723. There is a problem with this Windows Installer package. A DLL
> > required for this install to complete could not be run. Contact your
> > support personnel or package vendor.  Action ValidateSQLAdminCredentials,
> > entry: ValidateSQLAdminCredentials, library:
> > C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp
> >
> > The one that is reflected isn't even the one that I renamed, but that
> > would be the first time it tried to load my DLL.
> >
> > I've cleared out my bin and obj directories in my CA project as well as
> my
> > installer project.
> >
> > What am I missing or where can I look to help troubleshoot? I'm using Wix
> > 3.8
> >
> >
> --
> > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> > the definitive new guide to graph databases and their applications.
> Written
> > by three acclaimed leaders in the field, this first edition is now
> > available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> --
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> their
> > applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Pavan Konduru
Did you declare the custom action in the .wxs file?

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 3:29 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

I did that and it didn't work.

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
Sent: Wednesday, March 19, 2014 3:20 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Make the condition REMOVE="ALL"

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  
  Remove
  Remove

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, "{0} 
; {1}", Resources.ArgumentNullError, "session"), session);
  throw new ArgumentNullException("session", 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder("The actual 
databases will not be removed from the server by this.");
  notificationMessage.Append("\r\n\r\n");
  notificationMessage.Append("You will have to manually remove the 
Databases from your server.");

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

Thanks

Woody
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Avoid .net 3.5 requirement

2014-03-19 Thread kevindelafield
I am using wix 3.7.
Even though all my custom actions are marked as .bet 4.0 compatible, my 
installer still requires .net 3.5.
I only want to require .net 4.0.
How can I configure my installer to not need .net 3.5?

Thanks,

Kevin Delafield


Sent from my T-Mobile 4G LTE Device
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
I did that and it didn't work.

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] 
Sent: Wednesday, March 19, 2014 3:20 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] uI on silent uninstall

Make the condition REMOVE="ALL"

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  
  Remove
  Remove

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, "{0} 
; {1}", Resources.ArgumentNullError, "session"), session);
  throw new ArgumentNullException("session", 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder("The actual 
databases will not be removed from the server by this.");
  notificationMessage.Append("\r\n\r\n");
  notificationMessage.Append("You will have to manually remove the 
Databases from your server.");

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

Thanks

Woody
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Pavan Konduru
Make the condition REMOVE="ALL"

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  
  Remove
  Remove

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, "{0} 
; {1}", Resources.ArgumentNullError, "session"), session);
  throw new ArgumentNullException("session", 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder("The actual 
databases will not be removed from the server by this.");
  notificationMessage.Append("\r\n\r\n");
  notificationMessage.Append("You will have to manually remove the 
Databases from your server.");

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

Thanks

Woody
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread Levi Wilson
John,

I'm not following. I renamed the C# method that has the [CustomAction]
attribute on it, so shouldn't that change the DllEntry value in the
 element?


On Wed, Mar 19, 2014 at 6:02 PM, John Cooper  wrote:

> Is is you.  The entry point can be re-used with a new Id:
>
>  DllEntry="MyCSharpEntryPoint" Execute="immediate" />
>  DllEntry="MyCSharpEntryPoint" Execute="immediate" />
>
> --
> John Merryweather Cooper
> Build & Install Engineer - ESA
> Jack Henry & Associates, Inc.®
> Shawnee Mission, KS  66227
> Office:  913-341-3434 x791011
> jocoo...@jackhenry.com
> www.jackhenry.com
>
>
> -Original Message-
> From: Levi Wilson [mailto:l...@leviwilson.com]
> Sent: Wednesday, March 19, 2014 4:53 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] C# Custom Actions - Renaming Functions
>
> Is it me, or is it impossible to rename a C# custom action function once
> you've built it?
>
> My wxs files are correct to reflect the new name. I have verified that the
> binary file that is in there has the newly named method after I build it (I
> saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
> However, when I go to run the install I get:
>
> Error 1723. There is a problem with this Windows Installer package. A DLL
> required for this install to complete could not be run. Contact your
> support personnel or package vendor.  Action ValidateSQLAdminCredentials,
> entry: ValidateSQLAdminCredentials, library:
> C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp
>
> The one that is reflected isn't even the one that I renamed, but that
> would be the first time it tried to load my DLL.
>
> I've cleared out my bin and obj directories in my CA project as well as my
> installer project.
>
> What am I missing or where can I look to help troubleshoot? I'm using Wix
> 3.8
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. Written
> by three acclaimed leaders in the field, this first edition is now
> available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> NOTICE: This electronic mail message and any files transmitted with it are
> intended
> exclusively for the individual or entity to which it is addressed. The
> message,
> together with any attachment, may contain confidential and/or privileged
> information.
> Any unauthorized review, use, printing, saving, copying, disclosure or
> distribution
> is strictly prohibited. If you have received this message in error, please
> immediately advise the sender by reply email and delete all copies.
>
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread Levi Wilson
Yes, I actually started by using ReSharper to rename my CA method, as I
have unit tests around all of them. After that I updated all of my wxs
files so that they are correct. I backed out the changes for now, but I can
try it again later to see what the full log is. I may be able to put
together a sample app to illustrate it on GitHub or something.

Thanks,

Levi


On Wed, Mar 19, 2014 at 6:00 PM, Hoover, Jacob
wrote:

> I assume you've also modified your C# CustomAction to include the updated
> name and rebuilt it?  Do you have a full log available (or at least some of
> the lines before that where the CA is being extracted).  If need be, one
> could peek into the temp file after extraction and ensure it's using the
> updated assembly.
>
> -Original Message-
> From: Levi Wilson [mailto:l...@leviwilson.com]
> Sent: Wednesday, March 19, 2014 4:53 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] C# Custom Actions - Renaming Functions
>
> Is it me, or is it impossible to rename a C# custom action function once
> you've built it?
>
> My wxs files are correct to reflect the new name. I have verified that the
> binary file that is in there has the newly named method after I build it (I
> saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
> However, when I go to run the install I get:
>
> Error 1723. There is a problem with this Windows Installer package. A DLL
> required for this install to complete could not be run. Contact your
> support personnel or package vendor.  Action ValidateSQLAdminCredentials,
> entry: ValidateSQLAdminCredentials, library:
> C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp
>
> The one that is reflected isn't even the one that I renamed, but that
> would be the first time it tried to load my DLL.
>
> I've cleared out my bin and obj directories in my CA project as well as my
> installer project.
>
> What am I missing or where can I look to help troubleshoot? I'm using Wix
> 3.8
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. Written
> by three acclaimed leaders in the field, this first edition is now
> available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] uI on silent uninstall

2014-03-19 Thread Rob Mensching
Windows Installer uninstalls MSI packages in passive mode so UI is not 
displayed.

Ever get the feeling like you're not supposed to show UI during the uninstall 
of an MSI?  Yeah, me too. 

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 2:49 PM
To: General discussion about the WiX toolset.
Subject: [WiX-users] uI on silent uninstall

Ok this is what I have so far:

Product.wxs


  
  Remove
  Remove

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, "{0} 
; {1}", Resources.ArgumentNullError, "session"), session);
  throw new ArgumentNullException("session", 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder("The actual 
databases will not be removed from the server by this.");
  notificationMessage.Append("\r\n\r\n");
  notificationMessage.Append("You will have to manually remove the 
Databases from your server.");

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

Thanks

Woody
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread John Cooper
Is is you.  The entry point can be re-used with a new Id:




--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com


-Original Message-
From: Levi Wilson [mailto:l...@leviwilson.com] 
Sent: Wednesday, March 19, 2014 4:53 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] C# Custom Actions - Renaming Functions

Is it me, or is it impossible to rename a C# custom action function once you've 
built it?

My wxs files are correct to reflect the new name. I have verified that the 
binary file that is in there has the newly named method after I build it (I 
saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
However, when I go to run the install I get:

Error 1723. There is a problem with this Windows Installer package. A DLL 
required for this install to complete could not be run. Contact your support 
personnel or package vendor.  Action ValidateSQLAdminCredentials,
entry: ValidateSQLAdminCredentials, library:
C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp

The one that is reflected isn't even the one that I renamed, but that would be 
the first time it tried to load my DLL.

I've cleared out my bin and obj directories in my CA project as well as my 
installer project.

What am I missing or where can I look to help troubleshoot? I'm using Wix
3.8
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread Hoover, Jacob
I assume you've also modified your C# CustomAction to include the updated name 
and rebuilt it?  Do you have a full log available (or at least some of the 
lines before that where the CA is being extracted).  If need be, one could peek 
into the temp file after extraction and ensure it's using the updated assembly.

-Original Message-
From: Levi Wilson [mailto:l...@leviwilson.com] 
Sent: Wednesday, March 19, 2014 4:53 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] C# Custom Actions - Renaming Functions

Is it me, or is it impossible to rename a C# custom action function once you've 
built it?

My wxs files are correct to reflect the new name. I have verified that the 
binary file that is in there has the newly named method after I build it (I 
saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
However, when I go to run the install I get:

Error 1723. There is a problem with this Windows Installer package. A DLL 
required for this install to complete could not be run. Contact your support 
personnel or package vendor.  Action ValidateSQLAdminCredentials,
entry: ValidateSQLAdminCredentials, library:
C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp

The one that is reflected isn't even the one that I renamed, but that would be 
the first time it tried to load my DLL.

I've cleared out my bin and obj directories in my CA project as well as my 
installer project.

What am I missing or where can I look to help troubleshoot? I'm using Wix
3.8
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] C# Custom Actions - Renaming Functions

2014-03-19 Thread Levi Wilson
Is it me, or is it impossible to rename a C# custom action function once
you've built it?

My wxs files are correct to reflect the new name. I have verified that the
binary file that is in there has the newly named method after I build it (I
saved it from Orca and did `dumpbin saved.dll /EXPORTS` to see it).
However, when I go to run the install I get:

Error 1723. There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your
support personnel or package vendor.  Action ValidateSQLAdminCredentials,
entry: ValidateSQLAdminCredentials, library:
C:\Users\VMWARE~1\AppData\Local\Temp\MSI8F83.tmp

The one that is reflected isn't even the one that I renamed, but that would
be the first time it tried to load my DLL.

I've cleared out my bin and obj directories in my CA project as well as my
installer project.

What am I missing or where can I look to help troubleshoot? I'm using Wix
3.8
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] uI on silent uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
Ok this is what I have so far:

Product.wxs


  
  Remove
  Remove

CustomAction.cs

[CustomAction]
  public static ActionResult UninstallMessage(Session session)
  {
  if (session == null)
  {
  
logEventsApp.WriteLoggingEvent(string.Format(CultureInfo.InvariantCulture, "{0} 
; {1}", Resources.ArgumentNullError, "session"), session);
  throw new ArgumentNullException("session", 
Resources.ArgumentNullError);
  }

  // This is just to display a message box that informs the user that 
they will have to remove the databases manually
  StringBuilder notificationMessage = new StringBuilder("The actual 
databases will not be removed from the server by this.");
  notificationMessage.Append("\r\n\r\n");
  notificationMessage.Append("You will have to manually remove the 
Databases from your server.");

  Record record = new Record();
  record.FormatString = notificationMessage.ToString();
  MessageResult value = session.Message(InstallMessage.Info | 
(InstallMessage)MessageIcon.Warning | (InstallMessage)MessageButtons.OK, 
record);

  return ActionResult.Success;
  }

And im still not getting the message box.  So what am I doing wrong?

Thanks

Woody
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI on uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
Cool! Thanks!

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] 
Sent: Wednesday, March 19, 2014 12:18 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] UI on uninstall

That's right Phil, We can use something like this in the custom action which 
would take care of the silent mode installation:

Record record = new Record();
record.FormatString = string.Format("Some message.");

MessageResult value = session.Message(
InstallMessage.Info | (InstallMessage)(MessageBoxIcon.Warning) |
(InstallMessage)MessageBoxButtons.OK, record);

-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com]
Sent: Wednesday, March 19, 2014 11:45 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] UI on uninstall

I thought the  DTF custom actions had a message call that ultimately uses 
MsiProcessMessage(), the point being that it automatically won't show the 
message if the UI is missing. Maybe it's Session.Message or something like that.
---
Phil Wilson


On Wed, Mar 19, 2014 at 11:33 AM, Harold Wood (H10 Capital) 
 wrote:
> If the operator does the uninstall from the control console is that a silent 
> uninstall?
>
> -Original Message-
> From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
> Sent: Wednesday, March 19, 2014 11:19 AM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] UI on uninstall
>
> The condition should be :
>
> REMOVE = "ALL" AND UILevel <> "2"
>
> This way it wouldn't cause issues with silent installation.
>
> -Original Message-
> From: Levi Wilson [mailto:l...@leviwilson.com]
> Sent: Wednesday, March 19, 2014 11:05 AM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] UI on uninstall
>
> That wouldn't work for a silent installation if you did it across the 
> network, would it? I think you'd end up with a dialog box that you couldn't 
> do anything with. I could be wrong.
>
>
> On Wed, Mar 19, 2014 at 1:54 PM, Pavan Konduru
> wrote:
>
>> Hi Harold,
>>
>> The uninstall cannot have standard Wix Dialogs from what I know. We 
>> had a similar requirement and I used a custom action (c#) to pop-up a "OK"
>> message box.
>> Something like this. Schedule this action only during
>> uninstall(REMOVE=ALL) in the installExecute sequence.
>>
>> [CustomAction]
>> public static ActionResult UsrDelPrompt(Session session)
>> {
>> string location = session["CustomActionData"];
>> session.Log(location);
>>
>>
>> DialogResult dialogResult = MessageBox.Show(new
>> Form() { TopMost = true }, "Message box content " + 
>> Environment.NewLine + location, "Header message for box", 
>> MessageBoxButtons.OK);
>>
>> return ActionResult.Success;
>> }
>>
>> -Original Message-
>> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
>> Sent: Wednesday, March 19, 2014 10:25 AM
>> To: General discussion about the WiX toolset.
>> Subject: [WiX-users] UI on uninstall
>>
>> I need to throw a message on the screen during uninstall. How do I do that?
>>
>> Thanks
>> Woody
>>
>> -
>> -
>>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
>> Databases" is the definitive new guide to graph databases and their 
>> applications. Written by three acclaimed leaders in the field, this 
>> first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
>>
>> -
>> -
>>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
>> Databases" is the definitive new guide to graph databases and their 
>> applications. Written by three acclaimed leaders in the field, this 
>> first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this first 
> edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> --

Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread Phil Wilson
There's a collection of tips and links here for building 64/32 bit setups:

http://blogs.msdn.com/b/astebner/archive/2007/08/09/4317654.aspx

However you need to figure out why your app is failing, and we can't
debug that with WiX source. Typical issues are missing 64-bit
dependencies; .NET AnyCpu code that runs native on x64 and fails to
find COM and other registry info that is in the X86 registry and
attempts to link to other Dlls with the wrong bitness.
---
Phil Wilson


On Wed, Mar 19, 2014 at 9:57 AM, karthikrangaraj  wrote:
> Hi Guys, i need some help. When I created a installer for 64bit OS, the
> application is not launching. Even i made a 64 bit installer, same iisue.
>
> App working fine on 32 bit os. Thank you
>
>
> This is the product.wix file:
> 
> 
> 
>  2012\Projects\PartyPrintUtility\PartyPrintUtility\bin\x64\Release" ?>
>  2012\Projects\PartyPrintUtility\PartyPrintUtility\bin\x64\Release\Res" ?>
>
> http://schemas.microsoft.com/wix/2006/wi";>
>   Name="PartyPrint Utility" Version="$(var.ProductVersion)"
> Language="1033" >
> 
> 
>
> 
>Property="NEWERVERSIONDETECTED"/>
>IncludeMinimum="yes" IncludeMaximum="no"
>   Property="OLDERVERSIONBEINGUPGRADED"/>
> 
> NOT NEWERVERSIONDETECTED
>
> 
>   
> 
>
>
>Guid="{47D7C69E-81C2-4FD6-B77B-790FBF5F7B39}">
>  Source="$(var.SourceDir)\PartyPrintUtility.exe" KeyPath="yes"
> Checksum="yes"/>
>   
>Guid="{64AE1DAD-2502-4171-AF80-A153D59D8996}">
>  KeyPath="yes" Checksum="yes"/>
>   
>Guid="{69CAD367-A9D1-46E7-B8BA-CF839D034175}">
>  KeyPath="yes" Checksum="yes"/>
>   
>Guid="{B20D2708-0422-4617-815F-C9143A75833F}">
>  KeyPath="yes" Checksum="yes"/>
>   
>Guid="{B4A38CE6-C34E-4391-9DCA-A142DB3BCA66}">
>  Source="$(var.SourceDir)\DnpDongleManage.dll" KeyPath="yes" Checksum="yes"/>
>   
>Guid="{D63578BD-902A-4899-A0BF-C82146117B03}">
>  Source="$(var.SourceDir)\HtmlAgilityPack.dll" KeyPath="yes" Checksum="yes"/>
>   
>Guid="{8CD7A15D-C92E-4F41-A097-8A06CFB01774}">
>  Source="$(var.SourceDir)\HtmlAgilityPack.pdb" KeyPath="yes" Checksum="yes"/>
>   
>Guid="{95B2ABCB-3E8C-4824-850C-7C3D29FB814D}">
>  Source="$(var.SourceDir)\HtmlAgilityPack.xml" KeyPath="yes" Checksum="yes"/>
>   
>Guid="{AB144098-3E3E-42AD-94A4-ED8F40E93915}">
>  KeyPath="yes" Checksum="yes"/>
>   
>Guid="{1EEF5A4C-B0AF-4528-8F57-80A8A62743EB}">
>  Source="$(var.SourceDir)\Microsoft.Expression.Interactions.dll"
> KeyPath="yes" Checksum="yes"/>
>   
>Guid="{8D772282-693B-4B4F-8D50-BC0A74F694E1}">
>  Source="$(var.SourceDir)\Microsoft.Expression.Interactions.xml"
> KeyPath="yes" Checksum="yes"/>
>   
>Guid="{B9E0FD72-35B1-4FC4-B91F-F8B108F700D6}">
>  Source="$(var.SourceDir)\PartyPrint.Design.dll" KeyPath="yes"
> Checksum="yes"/>
>   
>Guid="{B72BA6A5-F4AE-4B40-B1C2-85CB1487F49B}">
>  Source="$(var.SourceDir)\PartyPrint.Design.pdb" KeyPath="yes"
> Checksum="yes"/>
>   
>Guid="{640907F7-7509-495C-A663-AB9AACE0C401}">
>  Source="$(var.SourceDir)\PartyPrintUtility.exe.config" KeyPath="yes"
> Checksum="yes"/>
>   
>Guid="{A1ABC7F0-B969-470F-9F97-E0647FD01E7E}">
>  Source="$(var.SourceDir)\PartyPrintUtility.pdb" KeyPath="yes"
> Checksum="yes"/>
>   
>Guid="{C2A633FE-8045-4B77-88B8-7BABE2B8659D}">
>  Source="$(var.SourceDir)\PartyPrintUtility.vshost.exe" KeyPath="yes"
> Checksum="yes"/>
>   
>Guid="{68806A78-9809-413A-A0BE-C911C601CEB2}">
>  Source="$(var.SourceDir)\PartyPrintUtility.vshost.exe.config" KeyPath="yes"
> Checksum="yes"/>
>   
>Guid="{17BA04C5-BB05-4F35-A510-723C98C3CE05}">
>  Source="$(var.SourceDir)\PartyPrintUtility.vshost.exe.manifest"
> KeyPath="yes" Checksum="yes"/>
>   
>Guid="{A8A2063C-55AD-46B1-A46D-D235A62D654B}">
>  KeyPath="yes" Checksum="yes"/>
>   
>Guid="{7E4BDADB-1B87-4294-91BF-5343F77D0954}">
>  Source="$(var.SourceDir)\System.Windows.Interactivity.dll" KeyPath="yes"
> Checksum="yes"/>
>   
>Guid="{A197BE9A-42CD-4DFF-A6BC-37D4066FAA77}">
>  Source="$(var.SourceDir)\System.Windows.Interactivity.xml" KeyPath="yes"
> Checksum="yes"/>
>   
>Guid="{DF1B375B-4C35-4237-9C94-B00CA32EE479}">
>  KeyPath="yes" Checksum="yes"/>
>   
>Guid="{823604C4-23D9-4BD1-9478-28869770D522}">
>  KeyPath="yes" Checksum="yes"/>
>   
>Guid="{77B2B1CA-CE29-4489-86EE-FD0A6E

[WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread karthikrangaraj
Hi Guys, i need some help. When I created a installer for 64bit OS, the
application is not launching. Even i made a 64 bit installer, same iisue.

App working fine on 32 bit os. Thank you


This is the product.wix file:






http://schemas.microsoft.com/wix/2006/wi";>
  


   

  
  

NOT NEWERVERSIONDETECTED


  

  

  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  
  

  

  

  



  


  


  


  


  


  


  


  


  


  


  


  





  

  

  

  



  


  


  


  


  

  

  



  


  

  

  

  




  

  

  

  



  


  


  


  


  

  

  



  


  


  

  

  





  

  

  

  



  


  


  


  


  

  

  



  



  

  

  





  

  


  

  

  

  





  

  

  

  


  


  


  

  

  

  


  


  


  

  

  




  

  

  

  


  


  


  


  

  

  



  


  


  

  

  




  

  

  

Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread Hoover, Jacob
Which is why I asked you to compare file by file to see what one is different. 
I'm guessing either you missed a file (so it exists in your release folder but 
not in the install), or you are grabbing the "wrong file" from a different 
location. Compare file size, versions, and names. Something has to be 
different.  Identify the difference, and then look to your install where you 
should be getting those files from.

-Original Message-
From: karthikrangaraj [mailto:kranga...@dnpphoto.eu] 
Sent: Wednesday, March 19, 2014 2:17 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Making 64 bit installer from 32bit wix file

Hi,
eveything is working perfectly on Win 32 and there is no other dependencies fro 
64bit. As i said if i launch a release folder files in Win 8.1 64 
bit..everything is working.

Thank you



-
Wix 3.8 users
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593577.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread karthikrangaraj
Hi,
eveything is working perfectly on Win 32 and there is no other dependencies
fro 64bit. As i said if i launch a release folder files in Win 8.1 64
bit..everything is working.

Thank you



-
Wix 3.8 users
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593577.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI on uninstall

2014-03-19 Thread Pavan Konduru
That's right Phil, We can use something like this in the custom action which 
would take care of the silent mode installation:

Record record = new Record();
record.FormatString = string.Format("Some message.");

MessageResult value = session.Message(
InstallMessage.Info | (InstallMessage)(MessageBoxIcon.Warning) |
(InstallMessage)MessageBoxButtons.OK, record);

-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com] 
Sent: Wednesday, March 19, 2014 11:45 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] UI on uninstall

I thought the  DTF custom actions had a message call that ultimately uses 
MsiProcessMessage(), the point being that it automatically won't show the 
message if the UI is missing. Maybe it's Session.Message or something like that.
---
Phil Wilson


On Wed, Mar 19, 2014 at 11:33 AM, Harold Wood (H10 Capital) 
 wrote:
> If the operator does the uninstall from the control console is that a silent 
> uninstall?
>
> -Original Message-
> From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
> Sent: Wednesday, March 19, 2014 11:19 AM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] UI on uninstall
>
> The condition should be :
>
> REMOVE = "ALL" AND UILevel <> "2"
>
> This way it wouldn't cause issues with silent installation.
>
> -Original Message-
> From: Levi Wilson [mailto:l...@leviwilson.com]
> Sent: Wednesday, March 19, 2014 11:05 AM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] UI on uninstall
>
> That wouldn't work for a silent installation if you did it across the 
> network, would it? I think you'd end up with a dialog box that you couldn't 
> do anything with. I could be wrong.
>
>
> On Wed, Mar 19, 2014 at 1:54 PM, Pavan Konduru
> wrote:
>
>> Hi Harold,
>>
>> The uninstall cannot have standard Wix Dialogs from what I know. We 
>> had a similar requirement and I used a custom action (c#) to pop-up a "OK"
>> message box.
>> Something like this. Schedule this action only during
>> uninstall(REMOVE=ALL) in the installExecute sequence.
>>
>> [CustomAction]
>> public static ActionResult UsrDelPrompt(Session session)
>> {
>> string location = session["CustomActionData"];
>> session.Log(location);
>>
>>
>> DialogResult dialogResult = MessageBox.Show(new 
>> Form() { TopMost = true }, "Message box content " + 
>> Environment.NewLine + location, "Header message for box", 
>> MessageBoxButtons.OK);
>>
>> return ActionResult.Success;
>> }
>>
>> -Original Message-
>> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
>> Sent: Wednesday, March 19, 2014 10:25 AM
>> To: General discussion about the WiX toolset.
>> Subject: [WiX-users] UI on uninstall
>>
>> I need to throw a message on the screen during uninstall. How do I do that?
>>
>> Thanks
>> Woody
>>
>> -
>> -
>>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
>> Databases" is the definitive new guide to graph databases and their 
>> applications. Written by three acclaimed leaders in the field, this 
>> first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
>>
>> -
>> -
>>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
>> Databases" is the definitive new guide to graph databases and their 
>> applications. Written by three acclaimed leaders in the field, this 
>> first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this first 
> edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this first 
> edit

Re: [WiX-users] UI on uninstall

2014-03-19 Thread Phil Wilson
It's not that code you have won't work, but:

You should never call the standard messagebox functions during an
install operation. They ignore silent installs, don't follow the UI
rules (minimal vs silent) and frequently show behind the main window,
and don't put the message in the MSI log. That's why there is the
Win32 MsiProcessMessage() API. Now the DTF folks are smart and they
know this, that's why there is a session.message call to do what you
want to do. See this thread:

http://stackoverflow.com/questions/371204/how-do-i-show-error-message-using-managed-custom-actions-with-windows-installer

and:

http://stackoverflow.com/questions/16124164/messageboxes-using-dtf


---
Phil Wilson


On Wed, Mar 19, 2014 at 11:45 AM, Phil Wilson  wrote:
> I thought the  DTF custom actions had a message call that ultimately
> uses MsiProcessMessage(), the point being that it automatically won't
> show the message if the UI is missing. Maybe it's Session.Message or
> something like that.
> ---
> Phil Wilson
>
>
> On Wed, Mar 19, 2014 at 11:33 AM, Harold Wood (H10 Capital)
>  wrote:
>> If the operator does the uninstall from the control console is that a silent 
>> uninstall?
>>
>> -Original Message-
>> From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
>> Sent: Wednesday, March 19, 2014 11:19 AM
>> To: General discussion about the WiX toolset.
>> Subject: Re: [WiX-users] UI on uninstall
>>
>> The condition should be :
>>
>> REMOVE = "ALL" AND UILevel <> "2"
>>
>> This way it wouldn't cause issues with silent installation.
>>
>> -Original Message-
>> From: Levi Wilson [mailto:l...@leviwilson.com]
>> Sent: Wednesday, March 19, 2014 11:05 AM
>> To: General discussion about the WiX toolset.
>> Subject: Re: [WiX-users] UI on uninstall
>>
>> That wouldn't work for a silent installation if you did it across the 
>> network, would it? I think you'd end up with a dialog box that you couldn't 
>> do anything with. I could be wrong.
>>
>>
>> On Wed, Mar 19, 2014 at 1:54 PM, Pavan Konduru
>> wrote:
>>
>>> Hi Harold,
>>>
>>> The uninstall cannot have standard Wix Dialogs from what I know. We
>>> had a similar requirement and I used a custom action (c#) to pop-up a "OK"
>>> message box.
>>> Something like this. Schedule this action only during
>>> uninstall(REMOVE=ALL) in the installExecute sequence.
>>>
>>> [CustomAction]
>>> public static ActionResult UsrDelPrompt(Session session)
>>> {
>>> string location = session["CustomActionData"];
>>> session.Log(location);
>>>
>>>
>>> DialogResult dialogResult = MessageBox.Show(new Form()
>>> { TopMost = true }, "Message box content " + Environment.NewLine +
>>> location, "Header message for box", MessageBoxButtons.OK);
>>>
>>> return ActionResult.Success;
>>> }
>>>
>>> -Original Message-
>>> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
>>> Sent: Wednesday, March 19, 2014 10:25 AM
>>> To: General discussion about the WiX toolset.
>>> Subject: [WiX-users] UI on uninstall
>>>
>>> I need to throw a message on the screen during uninstall. How do I do that?
>>>
>>> Thanks
>>> Woody
>>>
>>> --
>>>  Learn Graph Databases - Download FREE O'Reilly Book "Graph
>>> Databases" is the definitive new guide to graph databases and their
>>> applications. Written by three acclaimed leaders in the field, this
>>> first edition is now available. Download your free book today!
>>> http://p.sf.net/sfu/13534_NeoTech
>>> ___
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>>
>>>
>>> --
>>>  Learn Graph Databases - Download FREE O'Reilly Book "Graph
>>> Databases" is the definitive new guide to graph databases and their
>>> applications. Written by three acclaimed leaders in the field, this
>>> first edition is now available. Download your free book today!
>>> http://p.sf.net/sfu/13534_NeoTech
>>> ___
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>> --
>> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
>> definitive new guide to graph databases and their applications. Written by 
>> three acclaimed leaders in the field, this first edition is now available. 
>> Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
>> -

Re: [WiX-users] (Gentle Reminder)Creating directory under C:\Programdata same as what the user specified in the UI dialogue

2014-03-19 Thread Bevan Weiss

http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/add_
a_file.html

Try this..




   




I've never tried providing a formatted string, so it might not work.
If it doesn't then you'll need to essentially do the same thing but using
some custom action to modify the runtime database.

If this doesn't work, then my suggestion would be that you give up.
If it's really that important then eventually they will hire someone that
will make it work ;)


Regards,
Bevan

>Date: Wed, 19 Mar 2014 20:04:41 +0530
>From: Suvrajyoti Panda 
>Subject: Re: [WiX-users] (Gentle Reminder)Creating directory under
>   C:\Programdata same as what the user specified in the UI dialogue
>
>Hi Bevan,
>
>Could you please provide some sample code on how to have a formatted string
as the folder names for these two items or the custom action thing.
>
>Regards,
>Suvra Jyoti
>On 19-03-2014 17:37, Bevan Weiss wrote: 
>> Suvrajyoti,
>>
>> If you allow the INSTALLDIR to be changed, then the whole thing could 
>> be different...
>> For instance if someone changed the INSTALLDIR to be C:\, then what do 
>> you consider that the C:\ProgramData.. folder should be named?
>>
>> I believe that you shouldn't allow the user to select any directory 
>> they like.
>> Instead you should give them the option (via a customised gui page) of 
>> adding on a suffix to the installer directory that you have already 
>> hardcoded.
>> Then you can just have your two folders be:
>> C:\Program Files ()\{Manufacturer}\{Product Name} 06.00.00 {whatever 
>> user suffix they want} And C:\ProgramData\{Manufacturer}\{Product 
>> Name} 06.00.00 {whatever user suffix they want}
>>
>> This is possibly do-able by just having a formatted string as the 
>> folder names for these two items.
>> If that doesn't work due to a WiX limitation, then you should be able 
>> to perform a custom action to modify the MSI in memory database early 
>> on to get the tables right for the actual installer operation.
>>
>>
>> Regards,
>> Bevan Weiss
>>
>>
>> Date: Wed, 19 Mar 2014 13:57:28 +0530
>> From: Suvrajyoti Panda 
>> Subject: Re: [WiX-users] (Gentle Reminder)Creating directory under
>>  C:\Programdata same as what the user specified in the UI dialogue
>>
>> Thanks for the elaborate explanation, it made things clearer. But the 
>> current structure that i am trying to follow is something that has 
>> been decided upon.
>>
>> How would i parse the INSTALLDIR value after it's been changed in the 
>> UI and isolate out the part that has changed, i mean is there some 
>> sample code that you could provide me?
>>
>> On 18-03-2014 22:12, Phil Wilson wrote:
>>> If you look at the tutorial and my previous example there are just a 
>>> couple of principles here that you can use to figure out directories 
>>> in general:
>>>
>>> 1. The default installation folder must be a folder derived from 
>>> standard system folder properties such as [ProgramFilesFolder]. Not 
>>> only is that the correct default location, it is not hardcoded, it is 
>>> resolved at install time to the actual values, These folder 
>>> properties are automatically the right location, the right name for 
>>> non-English systems, and the right location for 32 or 64-bit systems. 
>>> So if you actually wanted to have some of your files in ProgramData 
>>> you would use [LocalAppDataFolder] as the root of the property you 
>>> use to construct your folder. The key here is that you use standard 
>>> properties to construct a property name that describes your actual 
>>> folder. Typically the default name for the main app folder is 
>>> INSTALLDIR, constructed from [ProgramFilesFolder] [Manufacturer] 
>>> [ProductName] and stick {ProductVersion] at the end if you like.
>>> Similarly your ProgramData location could be called MYDATAFOLDER 
>>> constructed from [LocalAppDataFolder] {Manufacturer] [ProductName].
>>> That also means, by the way, that your [ProductName] should be 
>>> Pipeline Optimizer and your [Manufacturer] property should be Energy 
>>> Solutions, so you don't need to specify the hardcoded values 
>>> everywhere. See Name and Manufacturer in the Product element.
>>>
>>> 2. When the actual paths are constructed from properties, they are 
>>> automatically changed to reflect the user's choioce (if any) and the 
>>> actual paths on the system. That means that for your copyfile you 
>>> always do the copy from (for example) [SourceDir] to [INSTALLDIR] and 
>>> it will always be correct. Or it could be from [SourceDir] to 
>>> [MYDATAFOLDER] and it will always be correct. The main install folder 
>>> [INSTALLDIR]  (that can be altered) is nothing to do with the 
>>> LocalAppDataFolder location, which is usually a fixed directory with 
>>> your manufacturer and product name in it.
>>>
>>> Having said that, and assuming I understand what you're trying to do, 
>>> I know of no built-in way to construct a custom ProgramData location 
>>> based on a UI change of INSTALL

Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread Phil Wilson
That looks like an issue with your Xaml data trying to start up the
UI. I don't see how that can be a WiX issue.
---
Phil Wilson


On Wed, Mar 19, 2014 at 11:04 AM, Hoover, Jacob
 wrote:
> Have you compared the Release folder files to that of the ones on the 
> destination machine?
>
> -Original Message-
> From: karthikrangaraj [mailto:kranga...@dnpphoto.eu]
> Sent: Wednesday, March 19, 2014 12:58 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Making 64 bit installer from 32bit wix file
>
> Hi, if i grab the release folder files, it's working. I don't understand why
> the installer is not working. The files are put up in the folder x86 of
> 64bit os.
>
>
>
> -
> Wix 3.8 users
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593566.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI on uninstall

2014-03-19 Thread Phil Wilson
I thought the  DTF custom actions had a message call that ultimately
uses MsiProcessMessage(), the point being that it automatically won't
show the message if the UI is missing. Maybe it's Session.Message or
something like that.
---
Phil Wilson


On Wed, Mar 19, 2014 at 11:33 AM, Harold Wood (H10 Capital)
 wrote:
> If the operator does the uninstall from the control console is that a silent 
> uninstall?
>
> -Original Message-
> From: Pavan Konduru [mailto:pavan.kond...@accelrys.com]
> Sent: Wednesday, March 19, 2014 11:19 AM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] UI on uninstall
>
> The condition should be :
>
> REMOVE = "ALL" AND UILevel <> "2"
>
> This way it wouldn't cause issues with silent installation.
>
> -Original Message-
> From: Levi Wilson [mailto:l...@leviwilson.com]
> Sent: Wednesday, March 19, 2014 11:05 AM
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] UI on uninstall
>
> That wouldn't work for a silent installation if you did it across the 
> network, would it? I think you'd end up with a dialog box that you couldn't 
> do anything with. I could be wrong.
>
>
> On Wed, Mar 19, 2014 at 1:54 PM, Pavan Konduru
> wrote:
>
>> Hi Harold,
>>
>> The uninstall cannot have standard Wix Dialogs from what I know. We
>> had a similar requirement and I used a custom action (c#) to pop-up a "OK"
>> message box.
>> Something like this. Schedule this action only during
>> uninstall(REMOVE=ALL) in the installExecute sequence.
>>
>> [CustomAction]
>> public static ActionResult UsrDelPrompt(Session session)
>> {
>> string location = session["CustomActionData"];
>> session.Log(location);
>>
>>
>> DialogResult dialogResult = MessageBox.Show(new Form()
>> { TopMost = true }, "Message box content " + Environment.NewLine +
>> location, "Header message for box", MessageBoxButtons.OK);
>>
>> return ActionResult.Success;
>> }
>>
>> -Original Message-
>> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
>> Sent: Wednesday, March 19, 2014 10:25 AM
>> To: General discussion about the WiX toolset.
>> Subject: [WiX-users] UI on uninstall
>>
>> I need to throw a message on the screen during uninstall. How do I do that?
>>
>> Thanks
>> Woody
>>
>> --
>>  Learn Graph Databases - Download FREE O'Reilly Book "Graph
>> Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field, this
>> first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
>>
>> --
>>  Learn Graph Databases - Download FREE O'Reilly Book "Graph
>> Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field, this
>> first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> --
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
> definitive new guide to graph databases and their applications. Written by 
> three acclaimed leaders in the field, this first edition is now available. 
> Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
> definitive new guide to graph databases and their applications. Written by 
> three acclaimed leaders in the field, this first edition is now available. 
> Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> 

Re: [WiX-users] UI on uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
If the operator does the uninstall from the control console is that a silent 
uninstall?

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] 
Sent: Wednesday, March 19, 2014 11:19 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] UI on uninstall

The condition should be :

REMOVE = "ALL" AND UILevel <> "2"

This way it wouldn't cause issues with silent installation.

-Original Message-
From: Levi Wilson [mailto:l...@leviwilson.com]
Sent: Wednesday, March 19, 2014 11:05 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] UI on uninstall

That wouldn't work for a silent installation if you did it across the network, 
would it? I think you'd end up with a dialog box that you couldn't do anything 
with. I could be wrong.


On Wed, Mar 19, 2014 at 1:54 PM, Pavan Konduru
wrote:

> Hi Harold,
>
> The uninstall cannot have standard Wix Dialogs from what I know. We 
> had a similar requirement and I used a custom action (c#) to pop-up a "OK"
> message box.
> Something like this. Schedule this action only during
> uninstall(REMOVE=ALL) in the installExecute sequence.
>
> [CustomAction]
> public static ActionResult UsrDelPrompt(Session session)
> {
> string location = session["CustomActionData"];
> session.Log(location);
>
>
> DialogResult dialogResult = MessageBox.Show(new Form() 
> { TopMost = true }, "Message box content " + Environment.NewLine + 
> location, "Header message for box", MessageBoxButtons.OK);
>
> return ActionResult.Success;
> }
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 10:25 AM
> To: General discussion about the WiX toolset.
> Subject: [WiX-users] UI on uninstall
>
> I need to throw a message on the screen during uninstall. How do I do that?
>
> Thanks
> Woody
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI on uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
Thanks!!

-Original Message-
From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] 
Sent: Wednesday, March 19, 2014 10:55 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] UI on uninstall

Hi Harold,

The uninstall cannot have standard Wix Dialogs from what I know. We had a 
similar requirement and I used a custom action (c#) to pop-up a "OK" message 
box.
Something like this. Schedule this action only during uninstall(REMOVE=ALL) in 
the installExecute sequence.

[CustomAction]
public static ActionResult UsrDelPrompt(Session session)
{
string location = session["CustomActionData"];
session.Log(location);
   

DialogResult dialogResult = MessageBox.Show(new Form() { 
TopMost = true }, "Message box content " + Environment.NewLine + location, 
"Header message for box", MessageBoxButtons.OK);

return ActionResult.Success;
}

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
Sent: Wednesday, March 19, 2014 10:25 AM
To: General discussion about the WiX toolset.
Subject: [WiX-users] UI on uninstall

I need to throw a message on the screen during uninstall. How do I do that?

Thanks
Woody
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI on uninstall

2014-03-19 Thread Pavan Konduru
The condition should be :

REMOVE = "ALL" AND UILevel <> "2"

This way it wouldn't cause issues with silent installation.

-Original Message-
From: Levi Wilson [mailto:l...@leviwilson.com] 
Sent: Wednesday, March 19, 2014 11:05 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] UI on uninstall

That wouldn't work for a silent installation if you did it across the network, 
would it? I think you'd end up with a dialog box that you couldn't do anything 
with. I could be wrong.


On Wed, Mar 19, 2014 at 1:54 PM, Pavan Konduru
wrote:

> Hi Harold,
>
> The uninstall cannot have standard Wix Dialogs from what I know. We 
> had a similar requirement and I used a custom action (c#) to pop-up a "OK"
> message box.
> Something like this. Schedule this action only during
> uninstall(REMOVE=ALL) in the installExecute sequence.
>
> [CustomAction]
> public static ActionResult UsrDelPrompt(Session session)
> {
> string location = session["CustomActionData"];
> session.Log(location);
>
>
> DialogResult dialogResult = MessageBox.Show(new Form() 
> { TopMost = true }, "Message box content " + Environment.NewLine + 
> location, "Header message for box", MessageBoxButtons.OK);
>
> return ActionResult.Success;
> }
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 10:25 AM
> To: General discussion about the WiX toolset.
> Subject: [WiX-users] UI on uninstall
>
> I need to throw a message on the screen during uninstall. How do I do that?
>
> Thanks
> Woody
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread karthikrangaraj
Hi, right after the installation & I'll copy paste the files from Release
folder & make a test.
Does it make sense for testing purpose?

Thank you



-
Wix 3.8 users
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593571.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread Hoover, Jacob
Have you compared the Release folder files to that of the ones on the 
destination machine?

-Original Message-
From: karthikrangaraj [mailto:kranga...@dnpphoto.eu] 
Sent: Wednesday, March 19, 2014 12:58 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Making 64 bit installer from 32bit wix file

Hi, if i grab the release folder files, it's working. I don't understand why
the installer is not working. The files are put up in the folder x86 of
64bit os.



-
Wix 3.8 users
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593566.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI on uninstall

2014-03-19 Thread Hoover, Jacob
Exactly, forcing a dialog via a CA is bad for just that reason. If you were 
using Burn, your bundle can have an uninstall dialog as it's an EXE not a MSI.

-Original Message-
From: Levi Wilson [mailto:l...@leviwilson.com] 
Sent: Wednesday, March 19, 2014 1:05 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] UI on uninstall

That wouldn't work for a silent installation if you did it across the network, 
would it? I think you'd end up with a dialog box that you couldn't do anything 
with. I could be wrong.


On Wed, Mar 19, 2014 at 1:54 PM, Pavan Konduru
wrote:

> Hi Harold,
>
> The uninstall cannot have standard Wix Dialogs from what I know. We 
> had a similar requirement and I used a custom action (c#) to pop-up a "OK"
> message box.
> Something like this. Schedule this action only during
> uninstall(REMOVE=ALL) in the installExecute sequence.
>
> [CustomAction]
> public static ActionResult UsrDelPrompt(Session session)
> {
> string location = session["CustomActionData"];
> session.Log(location);
>
>
> DialogResult dialogResult = MessageBox.Show(new Form() 
> { TopMost = true }, "Message box content " + Environment.NewLine + 
> location, "Header message for box", MessageBoxButtons.OK);
>
> return ActionResult.Success;
> }
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 10:25 AM
> To: General discussion about the WiX toolset.
> Subject: [WiX-users] UI on uninstall
>
> I need to throw a message on the screen during uninstall. How do I do that?
>
> Thanks
> Woody
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI on uninstall

2014-03-19 Thread Levi Wilson
That wouldn't work for a silent installation if you did it across the
network, would it? I think you'd end up with a dialog box that you couldn't
do anything with. I could be wrong.


On Wed, Mar 19, 2014 at 1:54 PM, Pavan Konduru
wrote:

> Hi Harold,
>
> The uninstall cannot have standard Wix Dialogs from what I know. We had a
> similar requirement and I used a custom action (c#) to pop-up a "OK"
> message box.
> Something like this. Schedule this action only during
> uninstall(REMOVE=ALL) in the installExecute sequence.
>
> [CustomAction]
> public static ActionResult UsrDelPrompt(Session session)
> {
> string location = session["CustomActionData"];
> session.Log(location);
>
>
> DialogResult dialogResult = MessageBox.Show(new Form() {
> TopMost = true }, "Message box content " + Environment.NewLine + location,
> "Header message for box", MessageBoxButtons.OK);
>
> return ActionResult.Success;
> }
>
> -Original Message-
> From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com]
> Sent: Wednesday, March 19, 2014 10:25 AM
> To: General discussion about the WiX toolset.
> Subject: [WiX-users] UI on uninstall
>
> I need to throw a message on the screen during uninstall. How do I do that?
>
> Thanks
> Woody
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> the definitive new guide to graph databases and their applications. Written
> by three acclaimed leaders in the field, this first edition is now
> available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action error Handling in Wix 3.7

2014-03-19 Thread Pavan Konduru
Hi Alan,

Like Bryan said your exception block does seem to be invoked.
Since you have Return="check", the Installation is rolling back.

--Pavan

-Original Message-
From: Bryan Wolf [mailto:brw...@jackhenry.com]
Sent: Wednesday, March 19, 2014 7:05 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7

It's clear your catch handler is being called because of the EXCEPTION property 
being set. You're probably having an exception in the course of handling the 
exception. In general, having things that can throw exceptions in catch blocks 
(especially unreliable things such as File I/O access) is not best practice.

Try minimizing your catch handler to be nothing more than the set property for 
EXCEPTION and see if your results change.

-Original Message-
From: John Cooper
Sent: Wednesday, March 19, 2014 8:22 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7

1) Client side isn't going to give you very many details, but basically, the 
server is refusing to allow a connection.

2) The Persist Security Info attribute on your connection strings opens a 
truck-sized security hole in your application.  I would strongly recommend 
removing it.

3) This custom action does basically the same thing as one of mine, but it does 
too much.  I have separate custom actions for building, parsing, getting the 
server version, and validating the connection string.  Separating out in this 
manner will make it much, much easier to validate and debug.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-Original Message-
From: Alan Smith [mailto:the_red_baro...@hotmail.com]
Sent: Tuesday, March 18, 2014 9:38 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7

Pavan,

Error is a generic SQL Exception

Property(C): EXCEPTIONDETAILS = System.Data.SqlClient.SqlException 
(0x80131904): Login failed for user 'Username_user'.
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException 
exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand 
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, 
TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean 
enlistOK)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo 
serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer 
timeout, SqlConnection owningObject)
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo 
serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection 
owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout)
   at 
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection 
owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, 
String newPassword, Boolean redirectedUserInstance)
   at 
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity 
identity, SqlConnectionString connectionOptions, Object providerInfo, String 
newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   at 
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions 
options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection 
owningConnection)
   at 
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection
 owningConnection, DbConnectionPool pool, DbConnectionOptions options)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection 
owningObject)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection 
owningObject)
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection 
owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection 
owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection 
outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at CustomActions.GetDBVersion(Session session) === Logging stopped: 
3/18/2014  15:51:54 ===

Regards,

> From: pavan.kond...@accelrys.com
> To: wix-users@lists.sourceforge.net
> Date: Tue, 18 Mar 2014 18:45:08 -0700
> Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7
>
> Hi Alan,
>
> Can you post the error message that you see in the log?
>
> --Pavan
>
> -Original Message-
> From: Alan Smith [mailto:the_red_baro...@hotmail.com]
> Sent: Tuesday, March 18, 2014 4:56 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Custom Action error Handling in Wix

Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread karthikrangaraj
Hi, if i grab the release folder files, it's working. I don't understand why
the installer is not working. The files are put up in the folder x86 of
64bit os.



-
Wix 3.8 users
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593566.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI on uninstall

2014-03-19 Thread Pavan Konduru
Hi Harold,

The uninstall cannot have standard Wix Dialogs from what I know. We had a 
similar requirement and I used a custom action (c#) to pop-up a "OK" message 
box.
Something like this. Schedule this action only during uninstall(REMOVE=ALL) in 
the installExecute sequence.

[CustomAction]
public static ActionResult UsrDelPrompt(Session session)
{
string location = session["CustomActionData"];
session.Log(location);
   

DialogResult dialogResult = MessageBox.Show(new Form() { 
TopMost = true }, "Message box content " + Environment.NewLine + location, 
"Header message for box", MessageBoxButtons.OK);

return ActionResult.Success;
}

-Original Message-
From: Harold Wood (H10 Capital) [mailto:v-wow...@microsoft.com] 
Sent: Wednesday, March 19, 2014 10:25 AM
To: General discussion about the WiX toolset.
Subject: [WiX-users] UI on uninstall

I need to throw a message on the screen during uninstall. How do I do that?

Thanks
Woody
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread Hoover, Jacob
If your application is a 32 bit application, you should only use a 32 bit 
installer. Regardless, this isn't a WiX issue.  If you copied your application 
from your development machine to the x64 test machine, it would die in the same 
way.  You need to debug and analyze your application ad see why it's failing.

-Original Message-
From: karthikrangaraj [mailto:kranga...@dnpphoto.eu] 
Sent: Wednesday, March 19, 2014 12:47 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Making 64 bit installer from 32bit wix file


 
This is the error message from Event log.



-
Wix 3.8 users
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593563.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread karthikrangaraj

 
This is the error message from Event log.



-
Wix 3.8 users
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593563.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread karthikrangaraj
Hi Phil, the dependencies are common and no other 3rd party dll. When you
pull the files from release folder it works on Window 8.1 64 bit OS. But
it's not working right after the installtion.

thank you.

karthik



-
Wix 3.8 users
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593562.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] UI on uninstall

2014-03-19 Thread Harold Wood (H10 Capital)
I need to throw a message on the screen during uninstall. How do I do that?

Thanks
Woody
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CA Condition on Major Upgrade

2014-03-19 Thread Harold Wood (H10 Capital)
I think my wife would get a tad upset about that lol.

-Original Message-
From: Levi Wilson [mailto:l...@leviwilson.com] 
Sent: Wednesday, March 19, 2014 8:35 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] CA Condition on Major Upgrade

If I could kiss you, I would. THANKS!


On Wed, Mar 19, 2014 at 11:20 AM, Tobias S  wrote:

> a good summary of conditions can be found in the
>
> http://blogs.flexerasoftware.com/installtalk/2013/04/installer-cheat-s
> heet-series.html(Common
> MSI Conditions Cheat Sheet -
>
> http://www.flexerasoftware.jp/webdocuments/PDF/IS-CHS-Common-MSI-Condi
> tions.pdf
> )
> or on e.g.
>
> http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-acti
> on-that-happens-only-on-uninstall-via-msi
>
> --
>  Learn Graph Databases - Download FREE O'Reilly Book "Graph 
> Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, this 
> first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Making 64 bit installer from 32bit wix file

2014-03-19 Thread Phill Hogland
http://msdn.microsoft.com/en-us/library/gg513929.aspx



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Making-64-bit-installer-from-32bit-wix-file-tp7593557p7593558.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CA Condition on Major Upgrade

2014-03-19 Thread Phil Wilson
I may be misunderstanding your requirement, but UPGRADINGPRODUCTCODE
is set in the *older* product that is the target of the upgrade, not
in the newer incoming product. If you wish your install to not run a
CA if it is upgrading an older version then use the property set by
the newer upgrade, typically something like OLDERPRODUCTFOUND.
---
Phil Wilson


On Wed, Mar 19, 2014 at 8:42 AM, Levi Wilson  wrote:
> It looks like I need to change to:
>
> (NOT Installed) OR (NOT UPGRADINGPRODUCTCODE AND REMOVE<>"ALL")
>
> I will verify :) Thank you!
>
>
> On Wed, Mar 19, 2014 at 11:20 AM, Tobias S  wrote:
>
>> a good summary of conditions can be found in the
>>
>> http://blogs.flexerasoftware.com/installtalk/2013/04/installer-cheat-sheet-series.html(Common
>> MSI Conditions Cheat Sheet -
>>
>> http://www.flexerasoftware.jp/webdocuments/PDF/IS-CHS-Common-MSI-Conditions.pdf
>> )
>> or on e.g.
>>
>> http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi
>>
>> --
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Bootstrapper maximum number of packages and file size limit

2014-03-19 Thread Rob Mensching
1. Probably a DWORD's worth.

2. I'd say, don't create Bundles >300 MB. Windows is slow to verify/launch big 
executables.

___
 FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

-Original Message-
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: Wednesday, March 19, 2014 7:52 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Wix Bootstrapper maximum number of packages and file 
size limit

You're trying to sign your WinRar exe with signtool? I'm betting a 3.5 GB file 
is probably not supported with signtool, but regardless this isn't a Wix issue. 
 
(http://social.msdn.microsoft.com/Forums/en-US/dccbebdf-f725-494b-8f1c-aa6268aafb49/signtool-fails-to-sign-exe-files-built-with-winrar-and-2gb-and-overwrites-the-file-with-zeros?forum=winformssetup)

I'd rethink your deployment and have them utilize a web downloader instead of 
an all-inclusive exe.

1) I don't think there is a hard set limit.  There is probably a theoretical 
maximum somewhere but I'd doubt you'd ever hit it.
2) Don't create bundles > 2GB, use external files. Just think if you needed to 
patch one file in one MSI inside of your bundle.  Would you expect your users 
to download another 3.5 GB install just to get that one file?

-Original Message-
From: Farrukhw [mailto:farru...@gmail.com]
Sent: Wednesday, March 19, 2014 5:35 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix Bootstrapper maximum number of packages and file size 
limit

Sorry, if this is a re-post.

We have lots of third party components (msi, exe installer) to be delivered on 
user's machine. Although, there is a main script, used to install these in a 
required sequence on user's machine, but for delivery purposes, we are creating 
one self extracting archive using WinRAR. Its size is 3.50 GB at this time.

*Problem:* When we tried to sign this exe using signtool (use similar to sign 
our other binaries), it always got corrupted and become unusable.

Now we are thinking to pack these in Wix based bootstrapper and do the 
installation on target machine. However we are unaware about Bootstrapper's 
file size maximum limit.

*Questions:*
1-How many number of packages can we add in one Bundle? 
2-What is the maximum file size Bundle.exe would be supported?

Regards




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Bootstrapper-maximum-number-of-packages-and-file-size-limit-tp7593535.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CA Condition on Major Upgrade

2014-03-19 Thread Levi Wilson
If I could kiss you, I would. THANKS!


On Wed, Mar 19, 2014 at 11:20 AM, Tobias S  wrote:

> a good summary of conditions can be found in the
>
> http://blogs.flexerasoftware.com/installtalk/2013/04/installer-cheat-sheet-series.html(Common
> MSI Conditions Cheat Sheet -
>
> http://www.flexerasoftware.jp/webdocuments/PDF/IS-CHS-Common-MSI-Conditions.pdf
> )
> or on e.g.
>
> http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CA Condition on Major Upgrade

2014-03-19 Thread Levi Wilson
It looks like I need to change to:

(NOT Installed) OR (NOT UPGRADINGPRODUCTCODE AND REMOVE<>"ALL")

I will verify :) Thank you!


On Wed, Mar 19, 2014 at 11:20 AM, Tobias S  wrote:

> a good summary of conditions can be found in the
>
> http://blogs.flexerasoftware.com/installtalk/2013/04/installer-cheat-sheet-series.html(Common
> MSI Conditions Cheat Sheet -
>
> http://www.flexerasoftware.jp/webdocuments/PDF/IS-CHS-Common-MSI-Conditions.pdf
> )
> or on e.g.
>
> http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CA Condition on Major Upgrade

2014-03-19 Thread Tobias S
a good summary of conditions can be found in the
http://blogs.flexerasoftware.com/installtalk/2013/04/installer-cheat-sheet-series.html(Common
MSI Conditions Cheat Sheet -
http://www.flexerasoftware.jp/webdocuments/PDF/IS-CHS-Common-MSI-Conditions.pdf)
or on e.g.
http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CA Condition on Major Upgrade

2014-03-19 Thread Levi Wilson
I'm having trouble wrapping my head around scheduling a custom action of
mine. I want to run the CA on these conditions:

-  it's the first time installing
-  on the INSTALL portion of a major upgrade
-  NOT on the remove portion of the major upgrade
-  NOT during an uninstall

I have my condition set to this:


  


What am I missing here? This _seems_ to be running during the uninstall of
the previous existing product (my CA fails because the properties seem to
not be correct).

Thanks in advance,

Levi
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Bootstrapper maximum number of packages and file size limit

2014-03-19 Thread Hoover, Jacob
You're trying to sign your WinRar exe with signtool? I'm betting a 3.5 GB file 
is probably not supported with signtool, but regardless this isn't a Wix issue. 
 
(http://social.msdn.microsoft.com/Forums/en-US/dccbebdf-f725-494b-8f1c-aa6268aafb49/signtool-fails-to-sign-exe-files-built-with-winrar-and-2gb-and-overwrites-the-file-with-zeros?forum=winformssetup)

I'd rethink your deployment and have them utilize a web downloader instead of 
an all-inclusive exe.

1) I don't think there is a hard set limit.  There is probably a theoretical 
maximum somewhere but I'd doubt you'd ever hit it.
2) Don't create bundles > 2GB, use external files. Just think if you needed to 
patch one file in one MSI inside of your bundle.  Would you expect your users 
to download another 3.5 GB install just to get that one file?

-Original Message-
From: Farrukhw [mailto:farru...@gmail.com] 
Sent: Wednesday, March 19, 2014 5:35 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix Bootstrapper maximum number of packages and file size 
limit

Sorry, if this is a re-post.

We have lots of third party components (msi, exe installer) to be delivered on 
user's machine. Although, there is a main script, used to install these in a 
required sequence on user's machine, but for delivery purposes, we are creating 
one self extracting archive using WinRAR. Its size is 3.50 GB at this time.

*Problem:* When we tried to sign this exe using signtool (use similar to sign 
our other binaries), it always got corrupted and become unusable.

Now we are thinking to pack these in Wix based bootstrapper and do the 
installation on target machine. However we are unaware about Bootstrapper's 
file size maximum limit.

*Questions:*
1-How many number of packages can we add in one Bundle? 
2-What is the maximum file size Bundle.exe would be supported?

Regards




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Bootstrapper-maximum-number-of-packages-and-file-size-limit-tp7593535.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the 
definitive new guide to graph databases and their applications. Written by 
three acclaimed leaders in the field, this first edition is now available. 
Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] (Gentle Reminder)Creating directory under C:\Programdata same as what the user specified in the UI dialogue

2014-03-19 Thread Suvrajyoti Panda
Hi Bevan,

Could you please provide some sample code on how to have a formatted 
string as the folder names for these two items or the custom action thing.

Regards,
Suvra Jyoti
On 19-03-2014 17:37, Bevan Weiss wrote:
> Suvrajyoti,
>
> If you allow the INSTALLDIR to be changed, then the whole thing could be
> different...
> For instance if someone changed the INSTALLDIR to be C:\, then what do you
> consider that the C:\ProgramData.. folder should be named?
>
> I believe that you shouldn't allow the user to select any directory they
> like.
> Instead you should give them the option (via a customised gui page) of
> adding on a suffix to the installer directory that you have already
> hardcoded.
> Then you can just have your two folders be:
> C:\Program Files ()\{Manufacturer}\{Product Name} 06.00.00 {whatever user
> suffix they want}
> And
> C:\ProgramData\{Manufacturer}\{Product Name} 06.00.00 {whatever user suffix
> they want}
>
> This is possibly do-able by just having a formatted string as the folder
> names for these two items.
> If that doesn't work due to a WiX limitation, then you should be able to
> perform a custom action to modify the MSI in memory database early on to get
> the tables right for the actual installer operation.
>
>
> Regards,
> Bevan Weiss
>
>
> Date: Wed, 19 Mar 2014 13:57:28 +0530
> From: Suvrajyoti Panda 
> Subject: Re: [WiX-users] (Gentle Reminder)Creating directory under
>   C:\Programdata same as what the user specified in the UI dialogue
>
> Thanks for the elaborate explanation, it made things clearer. But the
> current structure that i am trying to follow is something that has been
> decided upon.
>
> How would i parse the INSTALLDIR value after it's been changed in the UI and
> isolate out the part that has changed, i mean is there some sample code that
> you could provide me?
>
> On 18-03-2014 22:12, Phil Wilson wrote:
>> If you look at the tutorial and my previous example there are just a
>> couple of principles here that you can use to figure out directories
>> in general:
>>
>> 1. The default installation folder must be a folder derived from
>> standard system folder properties such as [ProgramFilesFolder]. Not
>> only is that the correct default location, it is not hardcoded, it is
>> resolved at install time to the actual values, These folder properties
>> are automatically the right location, the right name for non-English
>> systems, and the right location for 32 or 64-bit systems. So if you
>> actually wanted to have some of your files in ProgramData you would
>> use [LocalAppDataFolder] as the root of the property you use to
>> construct your folder. The key here is that you use standard
>> properties to construct a property name that describes your actual
>> folder. Typically the default name for the main app folder is
>> INSTALLDIR, constructed from [ProgramFilesFolder] [Manufacturer]
>> [ProductName] and stick {ProductVersion] at the end if you like.
>> Similarly your ProgramData location could be called MYDATAFOLDER
>> constructed from [LocalAppDataFolder] {Manufacturer] [ProductName].
>> That also means, by the way, that your [ProductName] should be
>> Pipeline Optimizer and your [Manufacturer] property should be Energy
>> Solutions, so you don't need to specify the hardcoded values
>> everywhere. See Name and Manufacturer in the Product element.
>>
>> 2. When the actual paths are constructed from properties, they are
>> automatically changed to reflect the user's choioce (if any) and the
>> actual paths on the system. That means that for your copyfile you
>> always do the copy from (for example) [SourceDir] to [INSTALLDIR] and
>> it will always be correct. Or it could be from [SourceDir] to
>> [MYDATAFOLDER] and it will always be correct. The main install folder
>> [INSTALLDIR]  (that can be altered) is nothing to do with the
>> LocalAppDataFolder location, which is usually a fixed directory with
>> your manufacturer and product name in it.
>>
>> Having said that, and assuming I understand what you're trying to do,
>> I know of no built-in way to construct a custom ProgramData location
>> based on a UI change of INSTALLDIR. You would need to write code to
>> parse the INSTALLDIR value after it's been changed in the UI and
>> isolate out the part that has changed, and then set the property
>> MYDATAFOLDER to be [LocallAppDataFolder] plus whatever you parsed out
>> from INSTALLDIR. Your copyfile is still [SourceDir] to [MYDATAFOLDER].
>>
>> If it's the app that requires the unusual install folder and the
>> variable preferences file location, it's rather unusual, that's why
>> it's making your setup require a bunch of extra work. If you've
>> invented some of this, you should reconsider.
>>
>> ---
>> Phil Wilson
>>
>>
>> On Tue, Mar 18, 2014 at 5:54 AM, Suvrajyoti Panda
>>  wrote:
>>> Thanks Walter for the response.
>>>
>>> I too understand that this is not conventional and may be not right
>>> but when i am installing the tha pplication it c

Re: [WiX-users] Custom Action error Handling in Wix 3.7

2014-03-19 Thread Bryan Wolf
It's clear your catch handler is being called because of the EXCEPTION property 
being set. You're probably having an exception in the course of handling the 
exception. In general, having things that can throw exceptions in catch blocks 
(especially unreliable things such as File I/O access) is not best practice.

Try minimizing your catch handler to be nothing more than the set property for 
EXCEPTION and see if your results change. 

-Original Message-
From: John Cooper 
Sent: Wednesday, March 19, 2014 8:22 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7

1) Client side isn't going to give you very many details, but basically, the 
server is refusing to allow a connection.

2) The Persist Security Info attribute on your connection strings opens a 
truck-sized security hole in your application.  I would strongly recommend 
removing it.

3) This custom action does basically the same thing as one of mine, but it does 
too much.  I have separate custom actions for building, parsing, getting the 
server version, and validating the connection string.  Separating out in this 
manner will make it much, much easier to validate and debug.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-Original Message-
From: Alan Smith [mailto:the_red_baro...@hotmail.com]
Sent: Tuesday, March 18, 2014 9:38 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7

Pavan,

Error is a generic SQL Exception 

Property(C): EXCEPTIONDETAILS = System.Data.SqlClient.SqlException 
(0x80131904): Login failed for user 'Username_user'.
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException 
exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand 
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, 
TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean 
enlistOK)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo 
serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer 
timeout, SqlConnection owningObject)
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo 
serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection 
owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout)
   at 
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection 
owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, 
String newPassword, Boolean redirectedUserInstance)
   at 
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity 
identity, SqlConnectionString connectionOptions, Object providerInfo, String 
newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   at 
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions 
options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection 
owningConnection)
   at 
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection
 owningConnection, DbConnectionPool pool, DbConnectionOptions options)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection 
owningObject)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection 
owningObject)
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection 
owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection 
owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection 
outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at CustomActions.GetDBVersion(Session session) === Logging stopped: 
3/18/2014  15:51:54 ===

Regards,

> From: pavan.kond...@accelrys.com
> To: wix-users@lists.sourceforge.net
> Date: Tue, 18 Mar 2014 18:45:08 -0700
> Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7
> 
> Hi Alan,
> 
> Can you post the error message that you see in the log?
> 
> --Pavan
> 
> -Original Message-
> From: Alan Smith [mailto:the_red_baro...@hotmail.com]
> Sent: Tuesday, March 18, 2014 4:56 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Custom Action error Handling in Wix 3.7
> 
> I think this is an issue with how I am implementing my custom action, but I 
> am looking for some assistance with an issue I have encountered.
> 
> I have built a number of C# (.NET 4) Custom Actions which all reside in a 
> single DLL file. I am able to call all of these actions successfully and the 
> processing logic runs as expected, unless 

Re: [WiX-users] Identify installed product by productCode

2014-03-19 Thread Phill Hogland
Typically you would create a Bootstrapper project which has a Bundle element
and a Chain element.  In the Bundle element you could use the
util:ProductSearch and then use the result to notify the user in the BA or
condition whether an MSI gets installed.  The MSI would be added to the
Bundle's Chain using an MsiPackage element.

http://wixtoolset.org/documentation/manual/v3/bundle/

You cannot use util:ProductSearch in an MSI Product element.  That is why
there is another ProductSerach which is related to the Upgrade table under
the Wix schema in the chm.  I have never used that one.  

>From the way the question was worded it sounds like you need to create a
bootstrapper to detect dependent products, install prerequisites, and manage
the install of the MSI.  I would create the MSI without any UI and then
either use one of the built-in WixStandardBA applications, or roll you own
mba.  Look at the wix source code for examples.  src\Setup has the mba which
was used to install the tools.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Identify-installed-product-by-productCode-tp7593540p7593546.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action error Handling in Wix 3.7

2014-03-19 Thread John Cooper
1) Client side isn't going to give you very many details, but basically, the 
server is refusing to allow a connection.

2) The Persist Security Info attribute on your connection strings opens a 
truck-sized security hole in your application.  I would strongly recommend 
removing it.

3) This custom action does basically the same thing as one of mine, but it does 
too much.  I have separate custom actions for building, parsing, getting the 
server version, and validating the connection string.  Separating out in this 
manner will make it much, much easier to validate and debug.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com



-Original Message-
From: Alan Smith [mailto:the_red_baro...@hotmail.com] 
Sent: Tuesday, March 18, 2014 9:38 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7

Pavan,

Error is a generic SQL Exception 

Property(C): EXCEPTIONDETAILS = System.Data.SqlClient.SqlException 
(0x80131904): Login failed for user 'Username_user'.
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException 
exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand 
cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, 
TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean 
enlistOK)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo 
serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer 
timeout, SqlConnection owningObject)
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo 
serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection 
owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout)
   at 
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection 
owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, 
String newPassword, Boolean redirectedUserInstance)
   at 
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity 
identity, SqlConnectionString connectionOptions, Object providerInfo, String 
newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   at 
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions 
options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection 
owningConnection)
   at 
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection
 owningConnection, DbConnectionPool pool, DbConnectionOptions options)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection 
owningObject)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection 
owningObject)
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection 
owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection 
owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection 
outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at CustomActions.GetDBVersion(Session session) === Logging stopped: 
3/18/2014  15:51:54 ===

Regards,

> From: pavan.kond...@accelrys.com
> To: wix-users@lists.sourceforge.net
> Date: Tue, 18 Mar 2014 18:45:08 -0700
> Subject: Re: [WiX-users] Custom Action error Handling in Wix 3.7
> 
> Hi Alan,
> 
> Can you post the error message that you see in the log?
> 
> --Pavan
> 
> -Original Message-
> From: Alan Smith [mailto:the_red_baro...@hotmail.com]
> Sent: Tuesday, March 18, 2014 4:56 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Custom Action error Handling in Wix 3.7
> 
> I think this is an issue with how I am implementing my custom action, but I 
> am looking for some assistance with an issue I have encountered.
> 
> I have built a number of C# (.NET 4) Custom Actions which all reside in a 
> single DLL file. I am able to call all of these actions successfully and the 
> processing logic runs as expected, unless an exception is encountered. 
> Whenever an exception is encountered the custom action fails causing the 
> whole installation to roll back without ever entering my catch block. I have 
> witnessed this behaviour with a number of the actions that are scheduled to 
> run during the UI sequence (immediate type 1 custom actions). The below 
> details are for a specific new action I am developing to try and A: Verify 
> correct connection details for a database and B: Retrieve a version number 
> from the database. I am not looking for assistance with the C# code itself, 
> but as to why the error handling is not firing when run via WiX.
> 
>

[WiX-users] Win 32 application is not launching in Win 64 bit OS

2014-03-19 Thread karthikrangaraj
Hi Guys, somebody please help me with this problem:
http://stackoverflow.com/questions/22504176/win-32-application-is-not-launching-in-win-64-bit-os

I couldn't run my application on Win 64 bit OS( Win 8.1). Please help me.

Thank you.

karthik



-
Wix 3.8 users
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Win-32-application-is-not-launching-in-Win-64-bit-OS-tp7593543.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Identify installed product by productCode

2014-03-19 Thread Phill Hogland
Notice that there is a Util:ProductSearch (for use in Bundles) and a
wix:ProductSearch for use in an MSI.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Identify-installed-product-by-productCode-tp7593540p7593542.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Identify installed product by productCode

2014-03-19 Thread Phill Hogland
Look at ProductSearch in the chm.





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Identify-installed-product-by-productCode-tp7593540p7593541.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] (Gentle Reminder)Creating directory under C:\Programdata same as what the user specified in the UI dialogue

2014-03-19 Thread Suvrajyoti Panda
Hey Walter,

As of now no, i do not have that option.

Regards,
Suvra Jyoti

On 19-03-2014 17:27, Walter Dexter wrote:
> Do you have the option to disallow install directory being changed? Seems
> like a lot of software is doing that lately.
> On Mar 18, 2014 8:03 AM, "Suvrajyoti Panda" 
> wrote:
>
>> Thanks Walter for the response.
>>
>> I too understand that this is not conventional and may be not right but
>> when i am installing the tha pplication it creates a directory C:\Energy
>> Solutions International\PipelineOptimizer 06.00.00\gui  that has an
>> application mosquito.exe that requires this preferences.xml file under
>> the C:\ProgramData\Energy Solutions International itself else it is
>> showing the error "Preferences.xml not found". Thats the reason i am
>> using the CopyFile the way I am.
>>
>> On 18-03-2014 17:22, Walter Dexter wrote:
>>> I understand what you're trying to do, but please stop and ask if it
>> makes
>>> sense.
>>>
>>> The format of the path under ProgramData is usually
>>> publisher/software/files and not editable by the user.
>>>
>>> For that matter, the software should be under Program Files, referenced
>> by
>>> symbol, not C:\.
>>> It's a bit confusing when you say you're trying to create a directory
>>> using  because that's not you create directories. It's also
>>> confusing that you have hardcoded the directory as the Program Files
>>> folder.  Typically you use the ProgramFilesFolder like this:
>>>
>>> http://wix.tramontana.co.hu/tutorial/getting-started/the-files-inside
>>>
>>> and the rest of that tutorial would probably help. Then your copyfile
>>> doesn't refer to your hardcoded path, it does a copy from SourceDir to
>>> INSTALLFOLDER, which is the property name for the install location
>>> chosen by the user.
>>> ---
>>> Phil Wilson
>>>
>>>
>>> On Thu, Mar 13, 2014 at 6:43 AM, Suvrajyoti Panda
>>>  wrote:
 Guys, Please let me know if some one has any idea on the below problem.

  Original Message 
 Subject:Creating directory under C:\Programdata same as what the
>>> user
 specified in the UI dialogue
 Date:   Thu, 13 Mar 2014 10:37:13 +0530
 From:   Suvrajyoti Panda 
 To: General discussion about the WiX toolset.
 



 Hi  All,

 I had appended this query in another topic, so reposting the same under
 different heading.

 I have this requirement in which i want to create directory under
 C:\Programdata same as what the user specified in the UI dialogue .I am
 trying to do that using . Below is the code:

 
 
   

  
   
 
 >>> Guid="{A4E1FFCE-1534-43BF-AA2B-CDFD39381720}" Directory="TARGETDIR">
 >>> Source='$(var.GuiPath)\screens\preferences.xml' KeyPath='yes'>
   >>> DestinationProperty='CopyDestination'  />
 
 
 
 
 

 While doing the installation if the user changes the install directory
 from the one that is default(it comes out as PipelineOptimizer 06.00.00)
 to some other name, the file being copied using the  attribute
 is still copied to the same directory under the programdata as the one
 which is defaulted in the UI which is to C:\ProgramData\Energy Solutions
 International\PipelineOptimizer 06.00.00. What i want though is that if
 the user changes the directory to say PipelineOptimizer 06.00.00 Test,
 then the file should be copied to the C:\ProgramData\Energy Solutions
 International\PipelineOptimizer 06.00.00 Test but this does not happen.
 Is there a way i can achieve the same. I tried using custom action to
 set the property "CopyDestination" but was not able to do so. Please let
 me know if there is a solution to this if possible with some sample
>> code.
 Also is there a way in which we can create 2 prompts to the user during
 install. This would allow us to use the directory variable independent
 of the path so that we can use this approach for the ProgramData
>>> subfolder .
  i. Prompt 1: The install path. For example, the default path is
 "C:\Energy Solutions International\".
  ii.Prompt 2: The install directory. For example, the default
 directory is "PipelineOptimizer 06.00.00".

 and then use the value of the install directory somehow to copy the file
 to right location.  Is the above approach possible? Please help as it is
 urgent for me.

 Regards,
 Suvra Jyoti





>> --
 Learn Graph Databases - Download FREE O'Reilly Book
 "Graph Databases" is the definitive new guide to graph databases and
>> their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download yo

Re: [WiX-users] (Gentle Reminder)Creating directory under C:\Programdata same as what the user specified in the UI dialogue

2014-03-19 Thread Bevan Weiss
Suvrajyoti,

If you allow the INSTALLDIR to be changed, then the whole thing could be
different...
For instance if someone changed the INSTALLDIR to be C:\, then what do you
consider that the C:\ProgramData.. folder should be named?

I believe that you shouldn't allow the user to select any directory they
like.
Instead you should give them the option (via a customised gui page) of
adding on a suffix to the installer directory that you have already
hardcoded.
Then you can just have your two folders be:
C:\Program Files ()\{Manufacturer}\{Product Name} 06.00.00 {whatever user
suffix they want}
And
C:\ProgramData\{Manufacturer}\{Product Name} 06.00.00 {whatever user suffix
they want}

This is possibly do-able by just having a formatted string as the folder
names for these two items.
If that doesn't work due to a WiX limitation, then you should be able to
perform a custom action to modify the MSI in memory database early on to get
the tables right for the actual installer operation.


Regards,
Bevan Weiss


Date: Wed, 19 Mar 2014 13:57:28 +0530
From: Suvrajyoti Panda 
Subject: Re: [WiX-users] (Gentle Reminder)Creating directory under
C:\Programdata same as what the user specified in the UI dialogue

Thanks for the elaborate explanation, it made things clearer. But the
current structure that i am trying to follow is something that has been
decided upon.

How would i parse the INSTALLDIR value after it's been changed in the UI and
isolate out the part that has changed, i mean is there some sample code that
you could provide me?

On 18-03-2014 22:12, Phil Wilson wrote:
> If you look at the tutorial and my previous example there are just a 
> couple of principles here that you can use to figure out directories 
> in general:
>
> 1. The default installation folder must be a folder derived from 
> standard system folder properties such as [ProgramFilesFolder]. Not 
> only is that the correct default location, it is not hardcoded, it is 
> resolved at install time to the actual values, These folder properties 
> are automatically the right location, the right name for non-English 
> systems, and the right location for 32 or 64-bit systems. So if you 
> actually wanted to have some of your files in ProgramData you would 
> use [LocalAppDataFolder] as the root of the property you use to 
> construct your folder. The key here is that you use standard 
> properties to construct a property name that describes your actual 
> folder. Typically the default name for the main app folder is 
> INSTALLDIR, constructed from [ProgramFilesFolder] [Manufacturer] 
> [ProductName] and stick {ProductVersion] at the end if you like.
> Similarly your ProgramData location could be called MYDATAFOLDER 
> constructed from [LocalAppDataFolder] {Manufacturer] [ProductName].
> That also means, by the way, that your [ProductName] should be 
> Pipeline Optimizer and your [Manufacturer] property should be Energy 
> Solutions, so you don't need to specify the hardcoded values 
> everywhere. See Name and Manufacturer in the Product element.
>
> 2. When the actual paths are constructed from properties, they are 
> automatically changed to reflect the user's choioce (if any) and the 
> actual paths on the system. That means that for your copyfile you 
> always do the copy from (for example) [SourceDir] to [INSTALLDIR] and 
> it will always be correct. Or it could be from [SourceDir] to 
> [MYDATAFOLDER] and it will always be correct. The main install folder 
> [INSTALLDIR]  (that can be altered) is nothing to do with the 
> LocalAppDataFolder location, which is usually a fixed directory with 
> your manufacturer and product name in it.
>
> Having said that, and assuming I understand what you're trying to do, 
> I know of no built-in way to construct a custom ProgramData location 
> based on a UI change of INSTALLDIR. You would need to write code to 
> parse the INSTALLDIR value after it's been changed in the UI and 
> isolate out the part that has changed, and then set the property 
> MYDATAFOLDER to be [LocallAppDataFolder] plus whatever you parsed out 
> from INSTALLDIR. Your copyfile is still [SourceDir] to [MYDATAFOLDER].
>
> If it's the app that requires the unusual install folder and the 
> variable preferences file location, it's rather unusual, that's why 
> it's making your setup require a bunch of extra work. If you've 
> invented some of this, you should reconsider.
>
> ---
> Phil Wilson
>
>
> On Tue, Mar 18, 2014 at 5:54 AM, Suvrajyoti Panda 
>  wrote:
>> Thanks Walter for the response.
>>
>> I too understand that this is not conventional and may be not right 
>> but when i am installing the tha pplication it creates a directory 
>> C:\Energy Solutions International\PipelineOptimizer 06.00.00\gui  
>> that has an application mosquito.exe that requires this 
>> preferences.xml file under the C:\ProgramData\Energy Solutions 
>> International itself else it is showing the error "Preferences.xml 
>> not found". Thats the r

Re: [WiX-users] Heat.exe harvesting case sensitive vb6 dll's

2014-03-19 Thread Bevan Weiss
Hi Ravi,
Heat creates its unique file/component references based on the source name
of the file.
So if you change the name, or the relative location of the source file, then
the file reference may well change.
I believe there is a way to force it to not generate new references, however
I've found that generally it's not a problem since it's really not so common
to be modifying the filename anyway.

It's probably very important to note however that if you allow WiX to
dynamically create your component IDs that you shouldn't be renaming /
moving the source files for these components unless you will be forcing a
major upgrade.  Since changing component IDs on a minor upgrade is getting
into dangerous territory.


Regards,
Bevan Weiss
SAGE Automation

>Date: Wed, 19 Mar 2014 10:11:38 +0530
>From: Ravishankar 
>Subject: [WiX-users] Heat.exe harvesting case sensitive vb6 dll's
>
>Hi,
>Am facing a strange issue, i have a dll(VB6 created) with name =
LITA300.dll and when i extract using Heat.exe it generates a set of
Component ID and FileID Now if i change my dll name = lita300.dll , >the
heat.exe is generating a different set of Component ID and FileID
>
>"C:\Program Files (x86)\WiX Toolset v3.6\bin\heat.exe" dir "C:\Temp" -dr
INSTALLLOCATION -cg FORTUNEFilesGroup -gg -g1 -sfrag -scom -srd -svb6 -var
"var.SourceItemsDir" -out >"C:\Temp\Components.wxs"
>
>i have placed my dll under C:\Temp  folder
>
>Can anyone please help me, is extracting dll files using Heat.exe is case
sensitive?, i mean should the filenames be case-sensitive?
>
>Thanks and Regards
>Ravi Shankar

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] (Gentle Reminder)Creating directory under C:\Programdata same as what the user specified in the UI dialogue

2014-03-19 Thread Walter Dexter
Do you have the option to disallow install directory being changed? Seems
like a lot of software is doing that lately.
On Mar 18, 2014 8:03 AM, "Suvrajyoti Panda" 
wrote:

> Thanks Walter for the response.
>
> I too understand that this is not conventional and may be not right but
> when i am installing the tha pplication it creates a directory C:\Energy
> Solutions International\PipelineOptimizer 06.00.00\gui  that has an
> application mosquito.exe that requires this preferences.xml file under
> the C:\ProgramData\Energy Solutions International itself else it is
> showing the error "Preferences.xml not found". Thats the reason i am
> using the CopyFile the way I am.
>
> On 18-03-2014 17:22, Walter Dexter wrote:
> > I understand what you're trying to do, but please stop and ask if it
> makes
> > sense.
> >
> > The format of the path under ProgramData is usually
> > publisher/software/files and not editable by the user.
> >
> > For that matter, the software should be under Program Files, referenced
> by
> > symbol, not C:\.
> > It's a bit confusing when you say you're trying to create a directory
> > using  because that's not you create directories. It's also
> > confusing that you have hardcoded the directory as the Program Files
> > folder.  Typically you use the ProgramFilesFolder like this:
> >
> > http://wix.tramontana.co.hu/tutorial/getting-started/the-files-inside
> >
> > and the rest of that tutorial would probably help. Then your copyfile
> > doesn't refer to your hardcoded path, it does a copy from SourceDir to
> > INSTALLFOLDER, which is the property name for the install location
> > chosen by the user.
> > ---
> > Phil Wilson
> >
> >
> > On Thu, Mar 13, 2014 at 6:43 AM, Suvrajyoti Panda
> >  wrote:
> >> Guys, Please let me know if some one has any idea on the below problem.
> >>
> >>  Original Message 
> >> Subject:Creating directory under C:\Programdata same as what the
> > user
> >> specified in the UI dialogue
> >> Date:   Thu, 13 Mar 2014 10:37:13 +0530
> >> From:   Suvrajyoti Panda 
> >> To: General discussion about the WiX toolset.
> >> 
> >>
> >>
> >>
> >> Hi  All,
> >>
> >> I had appended this query in another topic, so reposting the same under
> >> different heading.
> >>
> >> I have this requirement in which i want to create directory under
> >> C:\Programdata same as what the user specified in the UI dialogue .I am
> >> trying to do that using . Below is the code:
> >>
> >> 
> >>
> >>  
> >>   
> >> 
> >>  
> >>
> >> >> Guid="{A4E1FFCE-1534-43BF-AA2B-CDFD39381720}" Directory="TARGETDIR">
> >> >> Source='$(var.GuiPath)\screens\preferences.xml' KeyPath='yes'>
> >>   >> DestinationProperty='CopyDestination'  />
> >>
> >>
> >>
> >> 
> >>
> >>
> >> While doing the installation if the user changes the install directory
> >> from the one that is default(it comes out as PipelineOptimizer 06.00.00)
> >> to some other name, the file being copied using the  attribute
> >> is still copied to the same directory under the programdata as the one
> >> which is defaulted in the UI which is to C:\ProgramData\Energy Solutions
> >> International\PipelineOptimizer 06.00.00. What i want though is that if
> >> the user changes the directory to say PipelineOptimizer 06.00.00 Test,
> >> then the file should be copied to the C:\ProgramData\Energy Solutions
> >> International\PipelineOptimizer 06.00.00 Test but this does not happen.
> >> Is there a way i can achieve the same. I tried using custom action to
> >> set the property "CopyDestination" but was not able to do so. Please let
> >> me know if there is a solution to this if possible with some sample
> code.
> >>
> >> Also is there a way in which we can create 2 prompts to the user during
> >> install. This would allow us to use the directory variable independent
> >> of the path so that we can use this approach for the ProgramData
> > subfolder .
> >> i. Prompt 1: The install path. For example, the default path is
> >> "C:\Energy Solutions International\".
> >> ii.Prompt 2: The install directory. For example, the default
> >> directory is "PipelineOptimizer 06.00.00".
> >>
> >> and then use the value of the install directory somehow to copy the file
> >> to right location.  Is the above approach possible? Please help as it is
> >> urgent for me.
> >>
> >> Regards,
> >> Suvra Jyoti
> >>
> >>
> >>
> >>
> >>
> >
> --
> >> Learn Graph Databases - Download FREE O'Reilly Book
> >> "Graph Databases" is the definitive new guide to graph databases and
> their
> >> applications. Written by three acclaimed leaders in the field,
> >> this first edition is now available. Download your free book today!
> >> http://p.sf.net/sfu/13534_NeoTech
> >> ___
> >> WiX-users mailing list
> >> WiX-u

[WiX-users] Wix Bootstrapper maximum number of packages and file size limit

2014-03-19 Thread Farrukhw
Sorry, if this is a re-post.

We have lots of third party components (msi, exe installer) to be delivered
on user's machine. Although, there is a main script, used to install these
in a required sequence on user's machine, but for delivery purposes, we are
creating one self extracting archive using WinRAR. Its size is 3.50 GB at
this time.

*Problem:* When we tried to sign this exe using signtool (use similar to
sign our other binaries), it always got corrupted and become unusable.

Now we are thinking to pack these in Wix based bootstrapper and do the
installation on target machine. However we are unaware about Bootstrapper's
file size maximum limit.

*Questions:* 
1-How many number of packages can we add in one Bundle? 
2-What is the maximum file size Bundle.exe would be supported?

Regards




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-Bootstrapper-maximum-number-of-packages-and-file-size-limit-tp7593535.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] (Ignore earlier mail)Re: (Gentle Reminder)Creating directory under C:\Programdata same as what the user specified in the UI dialogue

2014-03-19 Thread Suvrajyoti Panda
Thanks Phil, for the elaborate explanation, it made things clearer. But 
the current structure that i am trying to follow is something that has 
been decided upon.

How would i parse the INSTALLDIR value after it's been changed in the UI 
and isolate out the part that has changed, i mean is there some sample 
code that you could provide me?

Regards,
Suvra Jyoti
On 18-03-2014 22:12, Phil Wilson wrote:
> If you look at the tutorial and my previous example there are just a
> couple of principles here that you can use to figure out directories
> in general:
>
> 1. The default installation folder must be a folder derived from
> standard system folder properties such as [ProgramFilesFolder]. Not
> only is that the correct default location, it is not hardcoded, it is
> resolved at install time to the actual values, These folder properties
> are automatically the right location, the right name for non-English
> systems, and the right location for 32 or 64-bit systems. So if you
> actually wanted to have some of your files in ProgramData you would
> use [LocalAppDataFolder] as the root of the property you use to
> construct your folder. The key here is that you use standard
> properties to construct a property name that describes your actual
> folder. Typically the default name for the main app folder is
> INSTALLDIR, constructed from [ProgramFilesFolder] [Manufacturer]
> [ProductName] and stick {ProductVersion] at the end if you like.
> Similarly your ProgramData location could be called MYDATAFOLDER
> constructed from [LocalAppDataFolder] {Manufacturer] [ProductName].
> That also means, by the way, that your [ProductName] should be
> Pipeline Optimizer and your [Manufacturer] property should be Energy
> Solutions, so you don't need to specify the hardcoded values
> everywhere. See Name and Manufacturer in the Product element.
>
> 2. When the actual paths are constructed from properties, they are
> automatically changed to reflect the user's choioce (if any) and the
> actual paths on the system. That means that for your copyfile you
> always do the copy from (for example) [SourceDir] to [INSTALLDIR] and
> it will always be correct. Or it could be from [SourceDir] to
> [MYDATAFOLDER] and it will always be correct. The main install folder
> [INSTALLDIR]  (that can be altered) is nothing to do with the
> LocalAppDataFolder location, which is usually a fixed directory with
> your manufacturer and product name in it.
>
> Having said that, and assuming I understand what you're trying to do,
> I know of no built-in way to construct a custom ProgramData location
> based on a UI change of INSTALLDIR. You would need to write code to
> parse the INSTALLDIR value after it's been changed in the UI and
> isolate out the part that has changed, and then set the property
> MYDATAFOLDER to be [LocallAppDataFolder] plus whatever you parsed out
> from INSTALLDIR. Your copyfile is still [SourceDir] to [MYDATAFOLDER].
>
> If it's the app that requires the unusual install folder and the
> variable preferences file location, it's rather unusual, that's why
> it's making your setup require a bunch of extra work. If you've
> invented some of this, you should reconsider.
>
> ---
> Phil Wilson
>
>
> On Tue, Mar 18, 2014 at 5:54 AM, Suvrajyoti Panda
>  wrote:
>> Thanks Walter for the response.
>>
>> I too understand that this is not conventional and may be not right but
>> when i am installing the tha pplication it creates a directory C:\Energy
>> Solutions International\PipelineOptimizer 06.00.00\gui  that has an
>> application mosquito.exe that requires this preferences.xml file under
>> the C:\ProgramData\Energy Solutions International itself else it is
>> showing the error "Preferences.xml not found". Thats the reason i am
>> using the CopyFile the way I am.
>>
>> On 18-03-2014 17:22, Walter Dexter wrote:
>>> I understand what you're trying to do, but please stop and ask if it makes
>>> sense.
>>>
>>> The format of the path under ProgramData is usually
>>> publisher/software/files and not editable by the user.
>>>
>>> For that matter, the software should be under Program Files, referenced by
>>> symbol, not C:\.
>>> It's a bit confusing when you say you're trying to create a directory
>>> using  because that's not you create directories. It's also
>>> confusing that you have hardcoded the directory as the Program Files
>>> folder.  Typically you use the ProgramFilesFolder like this:
>>>
>>> http://wix.tramontana.co.hu/tutorial/getting-started/the-files-inside
>>>
>>> and the rest of that tutorial would probably help. Then your copyfile
>>> doesn't refer to your hardcoded path, it does a copy from SourceDir to
>>> INSTALLFOLDER, which is the property name for the install location
>>> chosen by the user.
>>> ---
>>> Phil Wilson
>>>
>>>
>>> On Thu, Mar 13, 2014 at 6:43 AM, Suvrajyoti Panda
>>>  wrote:
 Guys, Please let me know if some one has any idea on the below problem.

  Original Message 

Re: [WiX-users] (Gentle Reminder)Creating directory under C:\Programdata same as what the user specified in the UI dialogue

2014-03-19 Thread Suvrajyoti Panda
Thanks for the elaborate explanation, it made things clearer. But the 
current structure that i am trying to follow is something that has been 
decided upon.

How would i parse the INSTALLDIR value after it's been changed in the UI 
and isolate out the part that has changed, i mean is there some sample 
code that you could provide me?

On 18-03-2014 22:12, Phil Wilson wrote:
> If you look at the tutorial and my previous example there are just a
> couple of principles here that you can use to figure out directories
> in general:
>
> 1. The default installation folder must be a folder derived from
> standard system folder properties such as [ProgramFilesFolder]. Not
> only is that the correct default location, it is not hardcoded, it is
> resolved at install time to the actual values, These folder properties
> are automatically the right location, the right name for non-English
> systems, and the right location for 32 or 64-bit systems. So if you
> actually wanted to have some of your files in ProgramData you would
> use [LocalAppDataFolder] as the root of the property you use to
> construct your folder. The key here is that you use standard
> properties to construct a property name that describes your actual
> folder. Typically the default name for the main app folder is
> INSTALLDIR, constructed from [ProgramFilesFolder] [Manufacturer]
> [ProductName] and stick {ProductVersion] at the end if you like.
> Similarly your ProgramData location could be called MYDATAFOLDER
> constructed from [LocalAppDataFolder] {Manufacturer] [ProductName].
> That also means, by the way, that your [ProductName] should be
> Pipeline Optimizer and your [Manufacturer] property should be Energy
> Solutions, so you don't need to specify the hardcoded values
> everywhere. See Name and Manufacturer in the Product element.
>
> 2. When the actual paths are constructed from properties, they are
> automatically changed to reflect the user's choioce (if any) and the
> actual paths on the system. That means that for your copyfile you
> always do the copy from (for example) [SourceDir] to [INSTALLDIR] and
> it will always be correct. Or it could be from [SourceDir] to
> [MYDATAFOLDER] and it will always be correct. The main install folder
> [INSTALLDIR]  (that can be altered) is nothing to do with the
> LocalAppDataFolder location, which is usually a fixed directory with
> your manufacturer and product name in it.
>
> Having said that, and assuming I understand what you're trying to do,
> I know of no built-in way to construct a custom ProgramData location
> based on a UI change of INSTALLDIR. You would need to write code to
> parse the INSTALLDIR value after it's been changed in the UI and
> isolate out the part that has changed, and then set the property
> MYDATAFOLDER to be [LocallAppDataFolder] plus whatever you parsed out
> from INSTALLDIR. Your copyfile is still [SourceDir] to [MYDATAFOLDER].
>
> If it's the app that requires the unusual install folder and the
> variable preferences file location, it's rather unusual, that's why
> it's making your setup require a bunch of extra work. If you've
> invented some of this, you should reconsider.
>
> ---
> Phil Wilson
>
>
> On Tue, Mar 18, 2014 at 5:54 AM, Suvrajyoti Panda
>  wrote:
>> Thanks Walter for the response.
>>
>> I too understand that this is not conventional and may be not right but
>> when i am installing the tha pplication it creates a directory C:\Energy
>> Solutions International\PipelineOptimizer 06.00.00\gui  that has an
>> application mosquito.exe that requires this preferences.xml file under
>> the C:\ProgramData\Energy Solutions International itself else it is
>> showing the error "Preferences.xml not found". Thats the reason i am
>> using the CopyFile the way I am.
>>
>> On 18-03-2014 17:22, Walter Dexter wrote:
>>> I understand what you're trying to do, but please stop and ask if it makes
>>> sense.
>>>
>>> The format of the path under ProgramData is usually
>>> publisher/software/files and not editable by the user.
>>>
>>> For that matter, the software should be under Program Files, referenced by
>>> symbol, not C:\.
>>> It's a bit confusing when you say you're trying to create a directory
>>> using  because that's not you create directories. It's also
>>> confusing that you have hardcoded the directory as the Program Files
>>> folder.  Typically you use the ProgramFilesFolder like this:
>>>
>>> http://wix.tramontana.co.hu/tutorial/getting-started/the-files-inside
>>>
>>> and the rest of that tutorial would probably help. Then your copyfile
>>> doesn't refer to your hardcoded path, it does a copy from SourceDir to
>>> INSTALLFOLDER, which is the property name for the install location
>>> chosen by the user.
>>> ---
>>> Phil Wilson
>>>
>>>
>>> On Thu, Mar 13, 2014 at 6:43 AM, Suvrajyoti Panda
>>>  wrote:
 Guys, Please let me know if some one has any idea on the below problem.

  Original Message 
 Subject:C