What exactly needed to be caught? If we can catch it in the WiX toolset we should.
On Tue, May 15, 2012 at 7:09 PM, Aaron Oxford < aaron.oxf...@objecttrading.com> wrote: > Regarding trying to find the cause of an Error 2343 - Specified path is > empty. > > The only way I discovered to deal with this problem was through a > process of elimination. Even having now found the exact location of the > problem I can see that there would have been nothing in any of the logs > that could have led me there any faster. > > It turned out that I was setting a flag incorrectly which caused this to > manifest somewhere within the thousands of lines of third-party wixlib > on which my project is built. (An extension directory was unnecessarily > declared, which would require me to show a custom browser dialog in > order to set its location. Having not done that, the wixlib attempted to > use an undefined directory, resulting in the error.) > > The only thing that could have helped me here is if the MSI had logged > what it was trying to do before running into the error. I don't know if > that's even possible within the Windows Installer framework, but if WIX > could do this it would be incredibly helpful. > > Thanks for listening everyone. > > Aaron Oxford - Developer > E aaron.oxf...@objecttrading.com > T +61 2 9450 2999 > F +61 2 9245 2744 > W www.objecttrading.com > This message may contain privileged and confidential information > intended only for the use of the addressee(s) named above. If you are > not the intended recipient of this message you are hereby notified that > any use, dissemination, distribution or reproduction of this message is > prohibited. If you have received this message in error please notify the > sender immediately. > > > > > -----Original Message----- > From: Aaron Oxford [mailto:aaron.oxf...@objecttrading.com] > Sent: Wednesday, 16 May 2012 09:42 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Error 2343 > > Hi Pally and thanks for the reply, > > I believe you've missed the point, and subject, of my post: Error 2343 - > Specified path is empty. I used the ICE error as an example of getting > too much information, as opposed to the Error 2343 which couldn't really > be less helpful, even with verbose logging. > > The other error actually came up as I was _troubleshooting_ Error 2343 > and attempting to remove all file deployment in entirety, so that I > could slowly eliminate possible causes of Error 2343. It is the Error > 2343 - Specified path is empty - that I am trying to solve. I need to > find out what path is empty. There are many, many paths, and none of > them are listed as empty when I do a verbose log of Error 2343. > > By the way, it seems I need to explicitly state that I've looked up > Error code 2343 using Google. You can read up on Error 2343 here > http://msdn.microsoft.com/en-us/library/windows/desktop/aa372835%28v=vs. > 85%29.aspx before replying if you like. That way you won't be sharing > any information that's already available to me, just the new information > specific to this case that results from analysing the question (about > Error 2343) using your skill and experience. ;-) > > Perhaps it was the tone of my post about Error 2343 that led you > chastise me for not looking up "2343 - Specified path is empty" myself, > but I don't think my browser and search engine are going to help me > extract information from Error 2343 that simply isn't there. What I need > to know is what the MSI is actually trying to do when this error occurs. > > > That is why I posted here asking if there is any other way to get > information out of the MSI about Error 2343 as it tries to 'get > installed' by the Windows Installer. ;-) > > > After even more reading, I also now understand that the lack of > information in Error 2343 probably isn't WIX's fault, even if the flawed > MSI is. This looks like standard Microsoft behaviour (in the Windows > Installer code), where you go to the trouble of allocating unique error > codes, like "2343", but never consider making the messages useful, like > "Specified path is empty". Looks like that one fell straight through the > code review; they couldn't even be bothered making it (the error message > for Error 2343) a sentence. > > In addition to that, unlike every other person with this problem on > every forum and code sharing site I could Google, I'm not playing with a > folder browser dialog when I get my Error 2343. I'm working on top of a > large pre-existing library (that I have tested separately as working) > and simply deploying a few files that are specific to my project, so I > suspect that my "2343 - Specified path is empty" is not related to the > root installer directory but one of the subdirectories I'm attempting to > create. But, I'd have to know WHAT PATH IS EMPTY (Error 2343) to confirm > that. :-D > > Not to worry, I've had to roll back a bunch of changes to a version of > the scripts that work OK and don't crash with Error 2343. You live you > learn I guess - after all, all the changes compiled (no Error 2343), and > how could WIX create an MSI that doesn't install correctly if it > compiles without warnings? Hahahaha [cry]. > > When I work out what caused my Error "2343 - Specified path is empty" > I'll post back here with my fix in the hopes of maybe helping someone > out. ;-) > > Error 2343 > > Aaron Oxford - Developer > E aaron.oxf...@objecttrading.com > T +61 2 9450 2999 > F +61 2 9245 2744 > W www.objecttrading.com > This message may contain privileged and confidential information > intended only for the use of the addressee(s) named above. If you are > not the intended recipient of this message you are hereby notified that > any use, dissemination, distribution or reproduction of this message is > prohibited. If you have received this message in error please notify the > sender immediately. > > > > -----Original Message----- > From: Pally Sandher [mailto:pally.sand...@iesve.com] > Sent: Tuesday, 15 May 2012 21:11 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Error 2343 > > ICE errors aren't WiX errors. > > Here's your hint as requested -> > http://msdn.microsoft.com/en-us/library/windows/desktop/aa369206.aspx or > if that's not enough how about > http://msdn.microsoft.com/en-us/library/windows/desktop/aa369022.aspx > > I think what you may be missing is basic troubleshooting and a web > browser with a search engine. > > Palbinder Sandher > Software Platform Engineer > T: +44 (0) 141 945 8500 > F: +44 (0) 141 945 8501 > http://www.iesve.com > > **Design, Simulate + Innovate with the <Virtual Environment>** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC151456 Registered Office - Helix Building, West Of Scotland Science > Park, Glasgow G20 0SP Email Disclaimer > > > > -----Original Message----- > From: Aaron Oxford [mailto:aaron.oxf...@objecttrading.com] > Sent: 15 May 2012 05:26 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Error 2343 > > Hi WIX people, > > > > Is there any way to get more information when a path is supposedly > empty? I've looked at all my paths and they look fine, and it would > really help to be able to narrow down WHAT file/directory is missing! > > > > WIX pops out with the most astonishing errors sometimes, e.g. "LGHT1076: > ICE71: The Media table has no entries.", and yet for something simple > like when a file was not built into the installer, we proceed to build > the MSI and then get no idea whatsoever what file that might have been. > > > > So we get a fatal failure for something nobody gives a crap about but we > can build an entire installer without actually putting the required > files into it? > > > > This can't be right, I must be missing something. Can anyone give me > hint? :-) > > > > Thanks, > > > > Aaron Oxford > > Object Trading Pty Ltd > > ------------------------------------------------------------------------ > ------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------ > ------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ > ------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users