Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-10 Thread Sohail Somani
On 10-09-10 7:41 PM, little.forest wrote: > I don't know how to use batch file in customaction. The same way you'd use any other command. I gave you an example! -- Sohail Somani -- iBlog : http://uint32t.blogspot.com iTweet: http://twitter.com/somanisoftware iCode : http://bitbucket.org/cheez

Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-10 Thread little.forest
Thanks Christopher. I appreciate it. I looked at that manual. I actually implemented "type 18 customaction" in the first place. But it didn't work for us. Here is my original code: Not Installed The problem isn't about Wix. The problem is that 3rd party program. It doesn't sup

[WiX-users] Votive and Visual Studio 10

2010-09-10 Thread tltabor lists
I'm fairly new to Wix. I see Votive 3.5 references to Visual Studion 2005 and 2008 here: http://wix.sourceforge.net/votive.html. Googling, I see support for Visual Studio 2010 beta and Visual Studio 2010 RC. Does it work with Visual Studio 2010? How would I answer this for myself going forward?

[WiX-users] "Add reference" in Visual Studio 10

2010-09-10 Thread Andres Juarez
I am adding our dlls to the VS “Add reference” by simply passing the path where the assemblies are to this reg key This works fine for VS9, but it does not seem to do anything for VS10. Does anyone know what else is missing here for VS10? Thanks -

Re: [WiX-users] 64 bit app installing in Program Files (x86) folder

2010-09-10 Thread Andres Juarez
Unfortunatelly this does not work if you select the advance buttom and change the default installation directory to a custom directory because the CA will reset it to the default installation directory Since all that SetDirectory is it's a CA type 51, I have implemented that instead, so i ca

[WiX-users] use XmlFile, XmlConfig in maintenance mode

2010-09-10 Thread TedG
Hello all, I've been trying to enable some limited reconfiguration of the installed application by using custom properties. So I have a few parameters stored in the .config files, which I can pass via command line to msiexec, and I have a custom dialog to modify these values, and in the end I pu

Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-10 Thread Christopher Painter
VBScript is unacceptable for installs that I write.   Have you looked at http://wix.sourceforge.net/manual-wix3/qtexec.htm to see if it meets your needs?   BTW, the commandline being called in this example suggests to me additional problems with this installers design.  adxreg.exe /install=myap

Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-10 Thread little.forest
Thanks Edwin! Yes, I also found it in here(http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg12592.html ). It works now. But some people said using vbscript in customaction isn't a good idea. so what could be the best solution if not using vbscript? Thanks. __

Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-10 Thread Castro, Edwin G. (Hillsboro)
Try: Public Function Main() Dim WshShell Set WshShell = CreateObject("WScript.Shell") WshShell.CurrentDirectory = "C:\Program Files\Common Files\MyApp" WshShell.Run "adxreg.exe /install=myapp.dll" Set WshShell = Nothing End Function Edwin G. Castro Software Developer - Staff Electronic Banking Se

Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-10 Thread little.forest
Thanks Sohail. If anybody knows how to fix this, please tell me. Thanks in advance. I don't know how to use batch file in customaction. But I found http://blogs.technet.com/b/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx. Even Rob said it's not good(http://wix.sourc

Re: [WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-10 Thread Sohail Somani
On 10-09-10 4:31 PM, little.forest wrote: > We have to change directory to "C:\Program Files\Common Files\MyApp\" first > and > then run "adxreg.exe /install=myapp.dll". How to do it in Wix? > You can do it in a batch file and pass it [INSTALLDIR] in the ExeCommand (iirc). So something like:

[WiX-users] Pin to Taskbar and Advertised shortcut

2010-09-10 Thread Alexander Kozlenko
Hello. Still can't find a solution so asking here. I have an advertised shortcut for my installed application but this shortcut hasn't context menu items "Pin to Start menu" and "Pin to Taskbar". Shortcut options: After adding these lines: "Pin to Start menu" item added to context men

Re: [WiX-users] Question about a custom action that calls a DllEntry point - which tries to use MsiGetProperty

2010-09-10 Thread Dave DaveLists
Thank you for the responses. The key was the deferred part and the effect that has, and the keyword "CustomActionData". My custom action and MsiGetProperty works as expected now. I found this blog which helped a lot once I knew what my problem basically was: http://blogs.claritycon.com/blogs/sajo

[WiX-users] How to change to a directory and run customaction inside that directory?

2010-09-10 Thread little.forest
Hi all, We have an urgent issue. We install some 3rd party files. After installing, we need to run its registration program. It's something like this: adxreg.exe /install=myapp.dll The problem is, this 3rd party adxreg.exe command doesn't support path. So this doesn't work: "C:\Program Files\

[WiX-users] Assembly=".net" GACS the dll for all Frameworks

2010-09-10 Thread Andres Juarez
Hi All, I am using the below to GAC my dll. This works fine. But if the target machine has both .NET 3.5 and 4.0 the dll gets GAC'ed for both. Since I am handling those two as a feature. Is there a way of select for which Framework the DLL gets GAC'ed, 3.5 GAC and 4.0 GAC. Thanks Andre

Re: [WiX-users] use wix to pin to taskbar and pin to start menu

2010-09-10 Thread bdwain
well i just want an option in the installer that lets them pin to the task bar and start menu. it's not a default -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/use-wix-to-pin-to-taskbar-and-pin-to-start-menu-tp5518811p5519359.html Sent from the wi

Re: [WiX-users] use wix to pin to taskbar and pin to start menu

2010-09-10 Thread Bruce Cran
On Fri, 10 Sep 2010 08:57:40 -0700 (PDT) bdwain wrote: > I am trying to use wix to pin a shortcut to the taskbar and the > startmenu, and i thought I would just be able to put a shortcut in > the correct folders, but that's not working. You should install shortcuts in the normal locations and l

[WiX-users] Problem with Merge Module

2010-09-10 Thread pcristini
I'm very new to WiX and installers/msi in general. I'm trying to setup an msi product that will consist of multiple merge modules. The way I have my project setup is I have a merge module project (named: MM - CRM Admin Tool) with the main application files; several other merge modules for other c

[WiX-users] Compiler error with PermissionEx (non-util version)

2010-09-10 Thread Ryan Wilkerson (OPSMGR)
Hi all, I am hitting a compiler error with PermissionEx and I'm hoping someone here can provide some insight. error LGHT0204 : ICE03: _Validation table: Invalid category string; Table: MsiLockPermissionsEx, Column: SDDLText, Key(s): permission I looked here: http://wix.sourceforge.net/manu

Re: [WiX-users] use wix to pin to taskbar and pin to start menu

2010-09-10 Thread Fabio Di Lorenzo
Offficially there is no way to do it (afaik). (see: http://blogs.msdn.com/b/oldnewthing/archive/2003/09/03/54760.aspx) but maybe this workaround helps (didnt test it): http://blogs.technet.com/b/deploymentguys/archive/2009/04/08/pin-items-to-the-start-menu-or-windows-7-taskbar-via-script.aspx

[WiX-users] use wix to pin to taskbar and pin to start menu

2010-09-10 Thread bdwain
Hi, I am trying to use wix to pin a shortcut to the taskbar and the startmenu, and i thought I would just be able to put a shortcut in the correct folders, but that's not working. i am putting the taskbar shortcut here C:\Users\vmadmin\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Us

[WiX-users] CNDL0038 error when using IIS7 Virtual directories

2010-09-10 Thread George Banfill
I am trying to get an installer that creates an IIS virtual directory using its own app pool, running in integrated mode as a specific user. I am trying to use the following WIX fragment:

[WiX-users] Howto remove files before Installer terminates

2010-09-10 Thread kr871io9
Hi, I am new to WiX, so hopefully I am not missing any fundamental steps here. I am creating an installer for a Desktop Application. The installer also installs DirectX 9.0 as described in the Wix.chm How To Guides. Everything works fine as expected, but I would like to remove the DirectX Redi

Re: [WiX-users] BWS Platform error

2010-09-10 Thread Taylor, Matthew
Hi Andrew, Thanks for your reply. I gave your suggestion a try but got the same result. Yes, I guess this is an MSbuild problem, not Wix. I'll try a Microsoft discussion forum. Thanks for your help. Regards, Matt -Original Message- From: Andrew Bewley [mailto:andrew.bew...@northgate-i

Re: [WiX-users] BWS Platform error

2010-09-10 Thread Andrew Bewley
Hi, I don't think this is directly a Wix issue as such. I'm certain I've seen this error previously which was caused by the project folder location path being way too long. Do a quick check to see how deep your bin folder is... if it's a pretty long path just try copying the project to a shorter

Re: [WiX-users] BWS Platform error

2010-09-10 Thread Taylor, Matthew
Hi, I'm still having this problem, can anybody help, please? Thanks & regards, Matt -Original Message- From: Taylor, Matthew [mailto:matthew.tay...@wspgroup.com] Sent: 08 September 2010 14:37 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] BWS Platform

Re: [WiX-users] Peculiar Problem - Installing Satellite Ass emblies to the GAC

2010-09-10 Thread sebastian
You can do something like this: ..etc worked for me ;) Sebastian -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. Vie

Re: [WiX-users] Question about a custom action that calls a DllEntry point - which tries to use MsiGetProperty

2010-09-10 Thread Rob Mensching
Correct. I highly suggest reading all the Custom Action content in the MSI SDK. You'll learn all kinds of interesting little facts... like the many limitations of deferred Custom Actions. On Thu, Sep 9, 2010 at 11:56 PM, Fabio Di Lorenzo wrote: > Hi Dave, > > Im not experienced in C/C++ custom a

Re: [WiX-users] Question about a custom action that calls a DllEntry point - which tries to use MsiGetProperty

2010-09-10 Thread Fabio Di Lorenzo
Hi Dave, Im not experienced in C/C++ custom actions, but in VBScript you are unable to access any Property during the deferred sequence. You can workaround this with the following trick: Create a immediate custom action which reads out the "SourceDir" Property and places the value into a propert