Re: [WiX-users] Virtual Directory not getting converted to Application in IIS.
Hi Carter, Sorry for late reply, was stuck up in some other work. Coming to the topic, actually in the Product.wxs I am using the IIS extension to convert to Virtual Directory and it works fine when we choose the Default Web Site. As I told before I am not able to get the reason why it works perfectly for Default WebSite and is just copying the files to other website physical path when we are choosing a different website. As we can see from the verbose log, physical path and website name all are correct but not getting converted to Virtual Directory. Could you think of any other reason why this might be happening. Please update me as soon as possible. Thank you. Regards Tony Jose On Wed, Sep 3, 2014 at 11:50 AM, Tony Jose Mampilly kooltonyj...@gmail.com wrote: Hi Carter, Thank you so much for the update. I will check it and will update you soon. Best Regards Tony On Tue, Sep 2, 2014 at 8:45 PM, Carter Young ecyo...@grandecom.net wrote: I do have an update for you... I apologize as we have construction going on at my home, and my computer has been down, moved, and reconnected... The Final Step is to convert the Physical Directory referred to in your log to a virtual directory using the IIS extension. See Step 6 here: http://blogs.planetsoftware.com.au/paul/archive/2011/02/ 25/creating-a-web-application-installer-with-wix-3.5-and- visual-yet-again.aspx and Eric Smith's answer here on StackOverflow: http://stackoverflow.com/questions/624918/using-wix-to- create-an-iis-virtual-directory The 1st Link provides a thorough example in that the IIS ISAPI is verified to be installed before installing the component. Ignore the include directives unless you want to follow the Tutorial all the way through. In Eric's answer, you would want to set the Referenced Website and port to the Default Website, and then set the IIS.Component Section to the Virtual Directory Pool, that the user chose from the dropdown box in the UI. Now you understand why I replaced the Code using the API Selection Functions as we can Pass the Selected Site to a WiX Property and Set the iis:WebVirtualDir Id and the iis:WebApplication Id to those properties. Carter Quoting Tony Jose Mampilly: Hi Carter, Any update on this issue? I found out that INSTALLDIR is coming correctly as required and I think the problem is because the installer simply copies the folder to the INSTALLDIR and not creating a virtual directory only. This is causing the folder to appear under the different website I chose. I am not able to understand why it is not creating virtual directory. It would be of great help if you could help further on this issue because I need it to get resolved very fast. Thanks in advance Regards Tony -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Virtual Directory not getting converted to Application in IIS.
Hi Carter, Thank you so much for the update. I will look into this and will try to resolve the issue. Thank you again. Regards Tony Jose On Tue, Aug 19, 2014 at 6:53 PM, Carter Young ecyo...@grandecom.net wrote: The Problem is Here: { Site site = iisManager.Sites[webSite]; basePath = site.Applications[/]. VirtualDirectories[/].PhysicalPath; } session.Log(SetInstallDir: Physical path : {0}, basePath); // Environment variables are used in IIS7 so expand them. basePath = Environment.ExpandEnvironmentVariables(basePath); // Get the web application name and poke that onto the end. String webAppName = session[WEB_APP_NAME]; String finalPath = Path.Combine(basePath, webAppName); // Set INSTALLDIR to the calculate path. session.Log(SetInstallDir: Setting INSTALLDIR to {0}, finalPath); session[INSTALLDIR] = finalPath; } The BasePath and the Final Path are only Correct when the Default Application Virtual Directory is used, because your grabbing the 1st item in the collection... You must treat the list of sites as a Collection, therefore before assigning the final path you must iterate the collection, and return the one the user selected. See this Post at StackOverflow for some pointers... http://stackoverflow.com/questions/19415624/get-iis-default-installation-directory -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Virtual Directory not getting converted to Application in IIS.
Hi Carter, If you know a fix for this issue can you please direct me in right direction, as I am not too good at Wix and custom actions. I came up with this issue when I was building some setups for my project as VS2012 has stopped support for setup and deployment project. Thanks in advance Regards Tony Jose On Wed, Aug 20, 2014 at 3:36 PM, Tony Jose Mampilly kooltonyj...@gmail.com wrote: Hi Carter, Thank you so much for the update. I will look into this and will try to resolve the issue. Thank you again. Regards Tony Jose On Tue, Aug 19, 2014 at 6:53 PM, Carter Young ecyo...@grandecom.net wrote: The Problem is Here: { Site site = iisManager.Sites[webSite]; basePath = site.Applications[/]. VirtualDirectories[/].PhysicalPath; } session.Log(SetInstallDir: Physical path : {0}, basePath); // Environment variables are used in IIS7 so expand them. basePath = Environment.ExpandEnvironmentVariables(basePath); // Get the web application name and poke that onto the end. String webAppName = session[WEB_APP_NAME]; String finalPath = Path.Combine(basePath, webAppName); // Set INSTALLDIR to the calculate path. session.Log(SetInstallDir: Setting INSTALLDIR to {0}, finalPath); session[INSTALLDIR] = finalPath; } The BasePath and the Final Path are only Correct when the Default Application Virtual Directory is used, because your grabbing the 1st item in the collection... You must treat the list of sites as a Collection, therefore before assigning the final path you must iterate the collection, and return the one the user selected. See this Post at StackOverflow for some pointers... http://stackoverflow.com/questions/19415624/get-iis-default-installation-directory -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Virtual Directory not getting converted to Application in IIS.
Hi Carter, Thank you so much for your help. I will try with what you have mentioned and will get back to you. Regards Tony On Wed, Aug 20, 2014 at 9:28 PM, Carter Young ecyo...@grandecom.net wrote: Replace the code I listed with these two Functions. 1. Populate the Listbox with the Collection: private static ApplicationCollection GetApplications(Site site) { //HttpContext.Current.Trace.Warn(Site ID3: + site + /n); ApplicationCollection appColl = site.Applications; return appColl; } 2. Iterate the collection, and match it with this: private static Site GetSite(string siteName) { Site site = (from s in (new ServerManager().Sites) where s.Name == siteName select s).FirstOrDefault(); if (site == null) throw new Exception(The Web Site Name \ + siteName + \ could not be found in IIS!); return site; } If you want the host name use: private static String GetHostName(Site site) { BindingCollection bindings = site.Bindings; String bind = null; foreach (Binding binding in bindings) if (binding.Host != null) return binding.ToString(); return bind; } Once Site or Bind is Returned, set INSTALLDIR to site or bind. I can't guide you further until we test it, as I don't know if site can be converted from a string to the virtual path. Test the Custom Action by writing the output to a StreamWriter, and I'll help further. Quoting Tony Jose Mampilly kooltonyj...@gmail.com: Hi Carter, If you know a fix for this issue can you please direct me in right direction, as I am not too good at Wix and custom actions. I came up with this issue when I was building some setups for my project as VS2012 has stopped support for setup and deployment project. Thanks in advance Regards Tony Jose -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Virtual Directory not getting converted to Application in IIS.
Hi, Any update on this issue? I am not able to sort it out in any way. Can someone update me on this with some light in right direction. All helps appreciated Thank you Best Regards Tony. On Tue, Aug 5, 2014 at 3:16 PM, Tony Jose Mampilly kooltonyj...@gmail.com wrote: Hi All, Anyone have any idea about how to do this? Please someone help me. All helps appreciated. Thank you Regards Tony On Wed, Jul 30, 2014 at 11:32 AM, Tony Jose Mampilly kooltonyj...@gmail.com wrote: Hi, I created a web setup referring to article at *http://www.wintellect.com/blogs/jrobbins/web-application-installer-in-wix http://www.wintellect.com/blogs/jrobbins/web-application-installer-in-wix. *The web setup works fine when executed from an elevated command prompt. An issue I face is that *when I am installing the setup under a different website, then the virtual directory is not getting converted to application,* whereas if I am installing it under default website it is installing properly and also converted to application. What am I missing out to convert it to application when installed under a different website. The code can be obtained from the above link. Any help appreciated. Thanks in advance Regards Tony -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Virtual Directory not getting converted to Application in IIS.
Hi All, Anyone have any idea about how to do this? Please someone help me. All helps appreciated. Thank you Regards Tony On Wed, Jul 30, 2014 at 11:32 AM, Tony Jose Mampilly kooltonyj...@gmail.com wrote: Hi, I created a web setup referring to article at *http://www.wintellect.com/blogs/jrobbins/web-application-installer-in-wix http://www.wintellect.com/blogs/jrobbins/web-application-installer-in-wix. *The web setup works fine when executed from an elevated command prompt. An issue I face is that *when I am installing the setup under a different website, then the virtual directory is not getting converted to application,* whereas if I am installing it under default website it is installing properly and also converted to application. What am I missing out to convert it to application when installed under a different website. The code can be obtained from the above link. Any help appreciated. Thanks in advance Regards Tony -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Virtual Directory not getting converted to Application in IIS.
Hi, I created a web setup referring to article at *http://www.wintellect.com/blogs/jrobbins/web-application-installer-in-wix http://www.wintellect.com/blogs/jrobbins/web-application-installer-in-wix. *The web setup works fine when executed from an elevated command prompt. An issue I face is that *when I am installing the setup under a different website, then the virtual directory is not getting converted to application,* whereas if I am installing it under default website it is installing properly and also converted to application. What am I missing out to convert it to application when installed under a different website. The code can be obtained from the above link. Any help appreciated. Thanks in advance Regards Tony -- Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Creating Setup.exe using wix
Hi, I created a web setup using Wix Designer add on for visual studio and the msi works fine except it allows installation only for admin. I was able to install using msiexec from elevated command prompt. I created an exe with setupbld.exe, but the created exe is of the same size as msi which I do not want. We need to deliver msi to the client and if both are of same size the size of setups will get doubled. *Can I create a small exe to call msi similar to Setup and Deployment project build in Visual Studio? *So that we can deliver both exe and msi together. In product.wxs I tried elevating install privileges, and installscope set to per machine. I guess custom controls are stopping from elevating privileges as some of the custom controls are sequenced and hence execute cannot be set to deferred. Can someone help me with this issue as it is little urgent. Regards Tony J -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX instalers not installing empty directories on target computer
Hi, Thank you for the response and let me try the method you have mentioned Thank You Regards Tony On Sat, Jan 25, 2014 at 3:28 AM, Phill Hogland phogl...@rimage.com wrote: CreateFolder in the chm? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-instalers-not-installing-empty-directories-on-target-computer-tp7592032p7592067.html Sent from the wix-users mailing list archive at Nabble.com. -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX instalers not installing empty directories on target computer
Hi, I create setups using WiX and to harvest directories I use Paraffin 3.1. My directories contain some empty folders which are necessary to be present in the target computer, but on installation these empty folders are missing on the target computer. When I checked the harvested output wxs file, it contains path to those folders, so I guess problem is from WiX. Is there any way to include empty folders on installation. Any helps appreciated. Thank you Regards Tony Jose -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Web Setup
Hi Blair, Yeah I was able to sort out the problem, I was using same name for all and so the problem was occurring. Thank you so much for your help. Regards Tony On Tue, Jan 21, 2014 at 10:52 AM, Blair Murri os...@live.com wrote: When you use the property remember pattern, all packages that store/retrieve the property at the same location will “remember” the same value. If you need the two setups to have different values, you should consider using two different registry locations for your property remember pattern. Blair From: Tony Jose Mampilly Sent: Wednesday, January 15, 2014 11:12 PM To: General discussion for Windows Installer XML toolset. Hi, I have created 2 web setups in a similar manner. In installation UI, the user can change the name of virtual directory if needed. By default it displays the name I have given in CDATA. The first web installer works as required, but problem comes on installation of second installer. During the installation, the default virtual directory name displayed is fetched from the first installer. Say I gave name of first virtual directory as 123, and I need the name of second virtual directory as 345, but by default it displays 123. We can change if we want, but I need it to be displayed correctly. If I am uninstalling the first website, then it works fine. Somebody please help me with this issue, its urgent. Any help appreciated The codes can be accessed at https://drive.google.com/folderview?id=0B1gCMqS-Y9BFcFVPaEFVZjQwdFkusp=sharing Thank you Regards Tony -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Registration and creation of tlb files during installation.
Hi, For one of our application after installation, 4 dlls are needed to be registered using REGASM.exe. Earlier when we were building setups using visual studio, this was done automatically. In WiX is there a way to do this during installation or after installation? At least is there any other way to get registered automatically after installation using some third party softwares? It should not be done manually, we need it to be automated. Please help. Any helps appreciated. Thank you Tony -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WiX web setup Directory name
Please if somebody have a solution, please help me with this. On Wed, Jan 15, 2014 at 10:59 AM, Tony Jose Mampilly kooltonyj...@gmail.com wrote: Hi, I have created a websetup for one website whch installs it into IIS. During installation it installer prompts user to give virtual directory name. By default it displays a name which I have given in CDATA, now the problem comes when if already some virtaul directory is installed in IIS, then that text box shows the name of that virtual drectory, else it displays correctly. Can somebody help me this issue? Its very urgent. Thank you Regards Tony -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Web Setup
Hi, I have created 2 web setups in a similar manner. In installation UI, the user can change the name of virtual directory if needed. By default it displays the name I have given in CDATA. The first web installer works as required, but problem comes on installation of second installer. During the installation, the default virtual directory name displayed is fetched from the first installer. Say I gave name of first virtual directory as 123, and I need the name of second virtual directory as 345, but by default it displays 123. We can change if we want, but I need it to be displayed correctly. If I am uninstalling the first website, then it works fine. Somebody please help me with this issue, its urgent. Any help appreciated The codes can be accessed at https://drive.google.com/folderview?id=0B1gCMqS-Y9BFcFVPaEFVZjQwdFkusp=sharing Thank you Regards Tony -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WiX web setup Directory name
Hi, I have created a websetup for one website whch installs it into IIS. During installation it installer prompts user to give virtual directory name. By default it displays a name which I have given in CDATA, now the problem comes when if already some virtaul directory is installed in IIS, then that text box shows the name of that virtual drectory, else it displays correctly. Can somebody help me this issue? Its very urgent. Thank you Regards Tony -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting name of reference directory and virtual directory same.
Yeah, thank you so much for helping and now it is working perfectly. Regards Tony On Sun, Nov 24, 2013 at 11:33 PM, Blair Murri os...@live.com wrote: Search for Remember Property Pattern. During uninstall the IIS custom action needs to know the value of VIRTUALDIR used during the installation. -Blair Date: Sun, 24 Nov 2013 14:28:21 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setting name of reference directory and virtual directory same. There is one more issue. On uninstallation all the files are getting removed but I will have to manually remove the virtual directory from iis. Is there any way to remove this on uninstallation of application?? Thank you for the help. On 24 Nov 2013 02:07, Tony Jose Mampilly kooltonyj...@gmail.com wrote: Thank you so much for your help and spending some time for this. The solution you provided works perfectly. It was exactly what I wanted. I had already solved the problem using a custom action, but thank you for providing me a better solution. Rigards Tony On 22 Nov 2013 20:31, Blair Murri os...@live.com wrote: Having thought about this overnight, I had an idea. I haven't tried this, but I believe it should work. Change this line: Property Id=VIRTUALDIR![CDATA[Staffbank]]/Property to these two lines: Property Id=VIRTUALDIR Secure=yes![CDATA[Staffbank]]/Property SetDirectory Id=INSTALLDIR Sequence=execute Value=[IISROOT][VIRTUALDIR]\NOT Installed/Property Let us know if that works or not. BTW, you do know to use virtual machines to test installers, right? You snapshot before you test your installer, so you can revert if the installer doesn't do exactly what you want. This is especially important when you have components marked permanent. -Blair Date: Fri, 22 Nov 2013 12:02:30 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setting name of reference directory and virtual directory same. Thats exactly what I want. Is there any other way to do this without using custom action. As I am new to wix writing a custom action might be extremely difficult for me. Thank you for the help. Regards Tony On 22 Nov 2013 09:54, Blair Murri os...@live.com wrote: I believe that see what you are trying to do. You want the directory currently named Staffbank to instead reflect the node value of the property named VIRTUALDIR you collect from the user during the installation. You will need a custom action to parse a filespec and change the last directory's name in that path, preserving the backslash at the end. The rest is reasonably well documented (how to change a directory's path after costing in the UI). -Blair Date: Thu, 21 Nov 2013 16:47:17 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setting name of reference directory and virtual directory same. Hi Sorry for the inconvenience and thank you for the tip. You can find the main wxs file in the link. Helps appreciated. https://drive.google.com/file/d/0B1gCMqS-Y9BFSkZQa24zbnh1d0k/edit?usp=sharing Thank you Tony On Thu, Nov 21, 2013 at 12:50 PM, Blair Murri os...@live.com wrote: Attachments rarely if ever make it through the list's remailer. You need to find some place to host your files and mail a pointer/URL to them. A section of code where you tell us what you are trying to match the users input would help us understand specifically what your request is, which will enable better help from us. -Blair Date: Thu, 21 Nov 2013 11:26:38 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: [WiX-users] Setting name of reference directory and virtual directory same. Hi, I created a website installer using wix with UI. During installation it accepts virtual directory name from the user. I need to set the same name for reference directory too. Is there any way to do this, as I am new to Wix please help me. The code I use is attached with this mail for reference. Any helps are appreciated. Thank you Regards Tony -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing
Re: [WiX-users] Setting name of reference directory and virtual directory same.
There is one more issue. On uninstallation all the files are getting removed but I will have to manually remove the virtual directory from iis. Is there any way to remove this on uninstallation of application?? Thank you for the help. On 24 Nov 2013 02:07, Tony Jose Mampilly kooltonyj...@gmail.com wrote: Thank you so much for your help and spending some time for this. The solution you provided works perfectly. It was exactly what I wanted. I had already solved the problem using a custom action, but thank you for providing me a better solution. Rigards Tony On 22 Nov 2013 20:31, Blair Murri os...@live.com wrote: Having thought about this overnight, I had an idea. I haven't tried this, but I believe it should work. Change this line: Property Id=VIRTUALDIR![CDATA[Staffbank]]/Property to these two lines: Property Id=VIRTUALDIR Secure=yes![CDATA[Staffbank]]/Property SetDirectory Id=INSTALLDIR Sequence=execute Value=[IISROOT][VIRTUALDIR]\NOT Installed/Property Let us know if that works or not. BTW, you do know to use virtual machines to test installers, right? You snapshot before you test your installer, so you can revert if the installer doesn't do exactly what you want. This is especially important when you have components marked permanent. -Blair Date: Fri, 22 Nov 2013 12:02:30 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setting name of reference directory and virtual directory same. Thats exactly what I want. Is there any other way to do this without using custom action. As I am new to wix writing a custom action might be extremely difficult for me. Thank you for the help. Regards Tony On 22 Nov 2013 09:54, Blair Murri os...@live.com wrote: I believe that see what you are trying to do. You want the directory currently named Staffbank to instead reflect the node value of the property named VIRTUALDIR you collect from the user during the installation. You will need a custom action to parse a filespec and change the last directory's name in that path, preserving the backslash at the end. The rest is reasonably well documented (how to change a directory's path after costing in the UI). -Blair Date: Thu, 21 Nov 2013 16:47:17 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setting name of reference directory and virtual directory same. Hi Sorry for the inconvenience and thank you for the tip. You can find the main wxs file in the link. Helps appreciated. https://drive.google.com/file/d/0B1gCMqS-Y9BFSkZQa24zbnh1d0k/edit?usp=sharing Thank you Tony On Thu, Nov 21, 2013 at 12:50 PM, Blair Murri os...@live.com wrote: Attachments rarely if ever make it through the list's remailer. You need to find some place to host your files and mail a pointer/URL to them. A section of code where you tell us what you are trying to match the users input would help us understand specifically what your request is, which will enable better help from us. -Blair Date: Thu, 21 Nov 2013 11:26:38 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: [WiX-users] Setting name of reference directory and virtual directory same. Hi, I created a website installer using wix with UI. During installation it accepts virtual directory name from the user. I need to set the same name for reference directory too. Is there any way to do this, as I am new to Wix please help me. The code I use is attached with this mail for reference. Any helps are appreciated. Thank you Regards Tony -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140
Re: [WiX-users] Setting name of reference directory and virtual directory same.
Thank you so much for your help and spending some time for this. The solution you provided works perfectly. It was exactly what I wanted. I had already solved the problem using a custom action, but thank you for providing me a better solution. Rigards Tony On 22 Nov 2013 20:31, Blair Murri os...@live.com wrote: Having thought about this overnight, I had an idea. I haven't tried this, but I believe it should work. Change this line: Property Id=VIRTUALDIR![CDATA[Staffbank]]/Property to these two lines: Property Id=VIRTUALDIR Secure=yes![CDATA[Staffbank]]/Property SetDirectory Id=INSTALLDIR Sequence=execute Value=[IISROOT][VIRTUALDIR]\NOT Installed/Property Let us know if that works or not. BTW, you do know to use virtual machines to test installers, right? You snapshot before you test your installer, so you can revert if the installer doesn't do exactly what you want. This is especially important when you have components marked permanent. -Blair Date: Fri, 22 Nov 2013 12:02:30 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setting name of reference directory and virtual directory same. Thats exactly what I want. Is there any other way to do this without using custom action. As I am new to wix writing a custom action might be extremely difficult for me. Thank you for the help. Regards Tony On 22 Nov 2013 09:54, Blair Murri os...@live.com wrote: I believe that see what you are trying to do. You want the directory currently named Staffbank to instead reflect the node value of the property named VIRTUALDIR you collect from the user during the installation. You will need a custom action to parse a filespec and change the last directory's name in that path, preserving the backslash at the end. The rest is reasonably well documented (how to change a directory's path after costing in the UI). -Blair Date: Thu, 21 Nov 2013 16:47:17 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setting name of reference directory and virtual directory same. Hi Sorry for the inconvenience and thank you for the tip. You can find the main wxs file in the link. Helps appreciated. https://drive.google.com/file/d/0B1gCMqS-Y9BFSkZQa24zbnh1d0k/edit?usp=sharing Thank you Tony On Thu, Nov 21, 2013 at 12:50 PM, Blair Murri os...@live.com wrote: Attachments rarely if ever make it through the list's remailer. You need to find some place to host your files and mail a pointer/URL to them. A section of code where you tell us what you are trying to match the users input would help us understand specifically what your request is, which will enable better help from us. -Blair Date: Thu, 21 Nov 2013 11:26:38 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: [WiX-users] Setting name of reference directory and virtual directory same. Hi, I created a website installer using wix with UI. During installation it accepts virtual directory name from the user. I need to set the same name for reference directory too. Is there any way to do this, as I am new to Wix please help me. The code I use is attached with this mail for reference. Any helps are appreciated. Thank you Regards Tony -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Shape the Mobile Experience:
Re: [WiX-users] Directory getting listed in IIS
Thank you for the solution and it works perfectly. On 22 Nov 2013 20:42, Nick Ramirez nickra...@hotmail.com wrote: You can dynamically set an install directory with the SetDirectory element. The WebVirtualDir element, in the IIS extension, uses the Directory property to point to a Directory element. So if you set up your Directory element, point to it with WebVirtualDir, and use SetDirectory to change its target path, that ought to work. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Directory-getting-listed-in-IIS-tp7590793p7590866.html Sent from the wix-users mailing list archive at Nabble.com. -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting name of reference directory and virtual directory same.
Thats exactly what I want. Is there any other way to do this without using custom action. As I am new to wix writing a custom action might be extremely difficult for me. Thank you for the help. Regards Tony On 22 Nov 2013 09:54, Blair Murri os...@live.com wrote: I believe that see what you are trying to do. You want the directory currently named Staffbank to instead reflect the node value of the property named VIRTUALDIR you collect from the user during the installation. You will need a custom action to parse a filespec and change the last directory's name in that path, preserving the backslash at the end. The rest is reasonably well documented (how to change a directory's path after costing in the UI). -Blair Date: Thu, 21 Nov 2013 16:47:17 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setting name of reference directory and virtual directory same. Hi Sorry for the inconvenience and thank you for the tip. You can find the main wxs file in the link. Helps appreciated. https://drive.google.com/file/d/0B1gCMqS-Y9BFSkZQa24zbnh1d0k/edit?usp=sharing Thank you Tony On Thu, Nov 21, 2013 at 12:50 PM, Blair Murri os...@live.com wrote: Attachments rarely if ever make it through the list's remailer. You need to find some place to host your files and mail a pointer/URL to them. A section of code where you tell us what you are trying to match the users input would help us understand specifically what your request is, which will enable better help from us. -Blair Date: Thu, 21 Nov 2013 11:26:38 +0530 From: kooltonyj...@gmail.com To: wix-users@lists.sourceforge.net Subject: [WiX-users] Setting name of reference directory and virtual directory same. Hi, I created a website installer using wix with UI. During installation it accepts virtual directory name from the user. I need to set the same name for reference directory too. Is there any way to do this, as I am new to Wix please help me. The code I use is attached with this mail for reference. Any helps are appreciated. Thank you Regards Tony -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign
Re: [WiX-users] Directory getting listed in IIS
Thank you for the help. I had hard coded the value of installdir to wwroot. During installation the user is prompted to provide name for virtual directory. If the user provides some other name for virtual directory other than hard coded value for the root directory, then root directory and virtual directory is getting listed in Iis. I dont want this. Is there any way to dynamically set the installdir and set the same name provided by user for installdir?? Any help appreciated. Thank you Regards Tony On 22 Nov 2013 10:27, Nick Ramirez nickra...@hotmail.com wrote: Are you trying to make a virtual directory in IIS? If so, then it makes sense that it would be listed as one in IIS. Or do you intend for it to be an application in IIS? The WebVirtualDir element has an Alias property for setting the name that will be used in the URL to access the virtual directory, if that's what you mean when you say that you want to change the name. I'm not sure if it can accept a WiX property or not, would have to experiment. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Directory-getting-listed-in-IIS-tp7590793p7590848.html Sent from the wix-users mailing list archive at Nabble.com. -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Error when decompiling and recompiling existing msi for a website
Thank you all Tony On Tue, Nov 12, 2013 at 1:12 AM, Phil Wilson phildgwil...@gmail.com wrote: That particular CA is generated by Visual Studio and calls a proprietary Microsoft Dll related to web site creation. You need to use some other WiX based CA to do your website creation. That VS Dll and interface is undocumented and probably not available for use outside Visual Studio setups. Phil Wilson On Mon, Nov 11, 2013 at 9:13 AM, Blair Murri os...@live.com wrote: Use orca to examine the CustomAction table and recreate the WEBCA_CreateURLs CA in the created sources? Lots of things could have gone wrong. To truly help, someone would have to have access to both the MSI and the results of the dark tool. Blair From: Tony Jose Mampilly Sent: Sunday, November 10, 2013 10:39 PM To: General discussion for Windows Installer XML toolset. Hi, When I try to compile the wxs file generated by decompiling an existing working msi of a website it shows error LGHT0094 : Unresolved reference to symbol 'CustomAction:WEBCA_CreateURLs' in section . Somebody please help me with this issue. Thank you Regards Tony -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Error when decompiling and recompiling existing msi for a website
Hi, When I try to compile the wxs file generated by decompiling an existing working msi of a website it shows error LGHT0094 : Unresolved reference to symbol 'CustomAction:WEBCA_CreateURLs' in section . Somebody please help me with this issue. Thank you Regards Tony -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] New to Wix
Hi, I am new to WiX and I am evaluating WiX for the company I am working for. We install windows applications, websites and windows services. We need to build everything from command line. I need to know whether I can use WiX to create packages to install websites and windows services. Awaiting a reply soon Thank you Regards Tony -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] New to Wix
Hi, Thank you for the feedback Regards Tony On Thu, Nov 7, 2013 at 12:14 PM, Rob Mensching r...@robmensching.com wrote: Yes, all that and more. -Original Message- From: Tony Jose Mampilly [mailto:kooltonyj...@gmail.com] Sent: Wednesday, November 6, 2013 10:03 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] New to Wix Hi, I am new to WiX and I am evaluating WiX for the company I am working for. We install windows applications, websites and windows services. We need to build everything from command line. I need to know whether I can use WiX to create packages to install websites and windows services. Awaiting a reply soon Thank you Regards Tony -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users