[WiX-users] [WARNING: MESSAGE ENCRYPTED]FW: Old Wix Project Template on Guidance Package having issues

2010-07-19 Thread Ji, Haiming -Gavin
Dear Sir, We are using the Wix project a lot and well in vs2008.We have some wix project template files which were developed under wix3.0 with Visual Studio 2008. But after migration into vs2010 with Wix3.5, we meet some warning during the start up of a new instance of the Guidance Package. It

[WiX-users] browse for backup directory

2010-07-19 Thread Sanjay Rao
Hi, I have a installer which ask for taking backup of existing data before upgrade. It also need to ask the location where user wants to take backup. Does anybody have any idea ? I already have a property for storing backup location. I am not able to use BrowseDlg code directly because it has

[WiX-users] DTF: ReinstallProduct with commandLine property

2010-07-19 Thread SimonKnight6600
I've developed an external UI using the DTF and have to pass some arguments to the custom actions in the MSI using the command line property. However, it's only available in the InstallProduct() method, but not in the ReinstallProduct() method... Is there any way to pass CustomActionData when

Re: [WiX-users] DTF: ReinstallProduct with commandLine property

2010-07-19 Thread Blair
Use ConfigureProduct() in place of ReinstallProduct(). -Original Message- From: SimonKnight6600 [mailto:simonschwei...@gmail.com] Sent: Monday, July 19, 2010 6:15 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] DTF: ReinstallProduct with commandLine property I've developed

[WiX-users] Uninstall or Rollback as a Custom Action

2010-07-19 Thread wirtzenator
Hey, Is it possible to make a Custom Action that essentially cancels the installation package (I don't want a button to do this), and removes everything. I would like it as a custom action, but a way to do this somehow automatically would be nice too. I have tried searching for the answer, but

[WiX-users] Messagebox from custom action with a lot of text

2010-07-19 Thread daniel.knoepfel
Hi In our wix installer a C# custom action, needs to pop up a window to show a message that might be quite long. I currently do it the following way: public void ShowWarningMessageBox(string pMessage) { Record record = new Record(); record.FormatString = pMessage;

[WiX-users] [Wix-users] Installing a windows service based on user give account

2010-07-19 Thread Stelios Kyprou
Hello! I am currently trying to install a windows service using ServiceInstall. The requirement i have, is that the account the service will run as, is defined by the user, in a dialog. If: 1) the user chooses Local System, the service should run as Local System 2) the user gives an account, the

Re: [WiX-users] Bug in 3.5 --The SetProperty element creates simple reference for custom actions is created incorrectly and will never be satisfied

2010-07-19 Thread Bhaumik Barot
Hey Guys, Is there any other solution to this issue ? Thanks, Bhaumik On Sun, Jul 18, 2010 at 11:52 PM, Rob Mensching r...@robmensching.comwrote: Please note that WiX v3.5 is still under development. That means it is not necessarily perfectly stable. Expect bugs and thank you for filing this

Re: [WiX-users] Messagebox from custom action with a lot of text

2010-07-19 Thread Christopher Painter
Where is this custom action scheduled?   I usually have a reusable dialog that contains an error property and then have my CA set the property and return.   ControlEvents then detect the error property has data and do a SpawnDialog on the  generic error dialog and gate transition to the next

Re: [WiX-users] Uninstall or Rollback as a Custom Action

2010-07-19 Thread Peter Shirtcliffe
Look for WixFailWhenDeferred in the Wix help. -Original Message- From: wirtzenator [mailto:wirtzena...@gmail.com] Sent: 19 July 2010 16:54 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall or Rollback as a Custom Action Hey, Is it possible to make a Custom Action

Re: [WiX-users] Uninstall or Rollback as a Custom Action

2010-07-19 Thread Wilson, Phil
That's what a type 19 custom action will do - I forget the WiX declaration though. Phil Wilson -Original Message- From: wirtzenator [mailto:wirtzena...@gmail.com] Sent: Monday, July 19, 2010 8:54 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstall or Rollback as a

Re: [WiX-users] Messagebox from custom action with a lot of text

2010-07-19 Thread daniel.knoepfel
Hi Christopher I currently have the action scheduled after CreateFolders. I use the CA almost like a startup-condition. There may also be other places where i intend to show a messagebox, but this is not defined yet. I hoped it would be something rather simple, either a flag or set the

[WiX-users] Folders in wwwroot with the internet icon

2010-07-19 Thread Rob Jarratt (MCS UK)
I am using the IIS extensions to create a Vdir in IIS 6. The trouble is I need the vdir to be in a folder path like this: Contoso.com/name/2010/07/19 And only the last directory (19) should be the actual vir. To get a path like that though I have to make the higher directories vdirs too, like

Re: [WiX-users] Folders in wwwroot with the internet icon

2010-07-19 Thread Neil Sleightholm
I think you can do this by setting the WebVirtualDir/@Alias to 2010/07/19 and remove the nested vdirs. Neil -Original Message- From: Rob Jarratt (MCS UK) [mailto:rjarr...@microsoft.com] Sent: 19 July 2010 17:59 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Folders in wwwroot

Re: [WiX-users] Folders in wwwroot with the internet icon

2010-07-19 Thread Rob Jarratt (MCS UK)
Just to be clear, the effect I am trying to achieve is a WebVirtualDir inside a WebDir. Regards Rob -Original Message- From: Rob Jarratt (MCS UK) [mailto:rjarr...@microsoft.com] Sent: 19 July 2010 17:59 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Folders in wwwroot with

[WiX-users] {INSTALLLOCATION] Not Expanding to It's Value in a Type 2 Custom Action

2010-07-19 Thread John Cooper (Volt)
I have a Type 2 Custom Action that isn't working right. LG_IIS7Installer.exe is running, but INSTALLLOCATION is not expanding. INSTALLLOCATION is set as a property= on the msiexec command line, and the files get installed into the right places. But instead of he path expected,

Re: [WiX-users] Messagebox from custom action with a lot of text

2010-07-19 Thread James Poole
Did you try just showing a standard windows forms message box from within your C# custom action? MessageBox.Show() On Mon, Jul 19, 2010 at 12:31 PM, daniel.knoep...@noser.com wrote: Hi Christopher I currently have the action scheduled after CreateFolders. I use the CA almost like a

Re: [WiX-users] Folders in wwwroot with the internet icon

2010-07-19 Thread Rob Jarratt (MCS UK)
Thanks so much for that. I thought I had tried that, but clearly I made a mistake somewhere because it does work. Thanks again. Regards Rob -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 19 July 2010 18:20 To: General discussion for Windows Installer XML

[WiX-users] WixFirewallExtension from 3.5

2010-07-19 Thread Neil Sleightholm
I would like to use the WixFirewallExtension from 3.5 with WiX 3.0 because it now supports the Profile attribute. I thought this would simply be a case of referencing the extension from a local folder and all would be ok. But when I try this I get an error from candle The fire:FirewallException

Re: [WiX-users] [Wix-users] Installing a windows service based on user give account

2010-07-19 Thread Bob Arnson
On 7/19/2010 12:04 PM, Stelios Kyprou wrote: I know that i can make that happen if i don't provide Account and Password in the ServiceInstall tag, but then again it depends on what the user chooses to run the service as in a dialog. Use two components with conditions based on the dialog

Re: [WiX-users] Custom Action not running

2010-07-19 Thread Thode, Katelyn
Thanks for the responses. I have set the custom action to the following: Binary Id=loadDriver SourceFile=MyCustomAction.dll / CustomAction Id=LaunchFile BinaryKey=loadDriver DllEntry=wixTab1394 Impersonate=no

Re: [WiX-users] Uninstall or Rollback as a Custom Action

2010-07-19 Thread wirtzenator
Hey, thanks!!! This did exactly what I wanted it to, problem solved. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstall-or-Rollback-as-a-Custom-Action-tp5312645p5313485.html Sent from the wix-users mailing list archive at Nabble.com.

[WiX-users] When is the next realeas for WIX 3.5 with bug fix

2010-07-19 Thread Bhaumik Barot
Rob , Thanks a lot for bug fix. ( [ wix-Bugs-3031280 ] Bug in 3.5 --The SetProperty element ) How do i get the latest Wix 3.5. ? -- Bhaumik Barot -- This SF.net email is sponsored by Sprint What will you do first with

Re: [WiX-users] WixFirewallExtension from 3.5

2010-07-19 Thread Bob Arnson
On 7/19/2010 2:23 PM, Neil Sleightholm wrote: I would like to use the WixFirewallExtension from 3.5 with WiX 3.0 because it now supports the Profile attribute. I thought this would simply be a case of referencing the extension from a local folder and all would be ok. But when I try this I get

Re: [WiX-users] Custom Action not running

2010-07-19 Thread Blair
Then your custom action is likely attempting to access things in the session/database that deferred actions are not allowed to access (tables, most session properties, etc.). If the custom action's inputs are simple session property reads you can try creating a property called LaunchFile (named

Re: [WiX-users] When is the next realeas for WIX 3.5 with bug fix

2010-07-19 Thread Blair
Status pending in the bug means that the build with the fix has not yet been generated. The earliest the fix will likely be released is this Friday (the 23rd) in the weekly releases (in a build version 3.5.1922.0 or greater). -Original Message- From: Bhaumik Barot

[WiX-users] Logging Error

2010-07-19 Thread Thode, Katelyn
I am attempting to log the installation of a package I created. When I run the following command line: msiexec.exe /I C:/comp/code/libdbg/tfuInstaller.msi /l*v C:/Documents and Settings/name/My Documents/tfuInstaller.txt I get an error message that states: This installation package could not

Re: [WiX-users] Custom Action not running

2010-07-19 Thread Thode, Katelyn
The only access I make into the actual installation session in my custom action is: UINT uiStat = MsiGetProperty(hInstall, _T(INSTALLDIR), _T(), valueBuff); And uiStat = MsiGetProperty(hInstall, _T(INSTALLDIR), szValueBuf, valueBuff); Is a deferred action not allowed to access this?

Re: [WiX-users] WixFirewallExtension from 3.5

2010-07-19 Thread Neil Sleightholm
It was loading the wrong version. The problem seems to be that candle doesn't use relative paths with -ext, so it ends up reading the file from the WiX bin folder. If you specify a fully qualified path it works. Visual Studio sets the path to a relative path (e.g. -ext WixFirewallExtension.dll)

Re: [WiX-users] When is the next realeas for WIX 3.5 with bug fix

2010-07-19 Thread Bhaumik Barot
It is fixed . That is the status but the thing is we have application release in next week and I can't wait till firday because I am stuck with that issue only and It has been fixed .Everybody is waiting on my installer module to be finished. We are using VS 2010 so I can't even use WIX 3.0.

Re: [WiX-users] Logging Error

2010-07-19 Thread Jeremy Farrell
Perhaps Windows path separators (\) in the paths? From: Thode, Katelyn [mailto:katelyn.th...@guidancesoftware.com] I am attempting to log the installation of a package I created. When I run the following command line: msiexec.exe /I C:/comp/code/libdbg/tfuInstaller.msi /l*v

Re: [WiX-users] When is the next realeas for WIX 3.5 with bug fix

2010-07-19 Thread Rob McCready
Your best bet on such a short timeframe is download the source and do your own custom build to use for right now. I've done this several times while waiting out bug fixes. It might take you a day to get everything in the build working, but its not incredibly difficult. Rob. Date:

Re: [WiX-users] Logging Error

2010-07-19 Thread Thode, Katelyn
Thanks for the response. That appears to have been the issue. -Original Message- From: Jeremy Farrell [mailto:jfarr...@pillardata.com] Sent: Monday, July 19, 2010 5:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Logging Error Perhaps Windows

Re: [WiX-users] When is the next realeas for WIX 3.5 with bug fix

2010-07-19 Thread Bhaumik Barot
Can you walk me through the step.. I will try to do that.. Thanks, Bhaumik On Mon, Jul 19, 2010 at 5:04 PM, Rob McCready rmccready...@hotmail.comwrote: Your best bet on such a short timeframe is download the source and do your own custom build to use for right now. I've done this

Re: [WiX-users] Custom Action not running

2010-07-19 Thread Blair Murri
Deferred custom actions can only access the following properties: CustomActionData, ProductCode, and UserSID, except for commit actions that cannot access ProductCode either. You could add this: SetProperty Id=LaunchFile Value=[INSTALLDIR] Sequence=execute Before=LaunchFile/ and

Re: [WiX-users] WixFirewallExtension from 3.5

2010-07-19 Thread Blair
Is there any way to make the HintPath a fully qualified path? Perhaps something along these lines? ItemGroup Ext Include=..\..\path\to\ext.dll/ WixExtension Include=Ext HintPath%(Ext.FullPath)/HintPath NameExt/Name /WixExtension /ItemGroup -Original Message-

[WiX-users] It is that complex to remove sub folder and files?

2010-07-19 Thread Elfe Xu
Hi, RemoveFolder can only remove empty folders, and RemoveFile can use wildchar, but it does not support wildchar for unknown name subfolders like **\*.* . My installer create a CustomData folder, and each customer will have its own subfolder. They can create sub-subfolders and put files under

Re: [WiX-users] Directory xxx is in the user profile but is not listed in the RemoveFile table

2010-07-19 Thread subrat agasti
even after adding the RemoveFolder element, I am getting the same error. On Wed, Jul 7, 2010 at 1:47 PM, Blair os...@live.com wrote: Add an additional RemoveFolder element targeting ProgramMenuDir in your ProgramMenuDirMonarch component. There is no limit to the number of RemoveFolder

Re: [WiX-users] Directory xxx is in the user profile but is not listed in the RemoveFile table

2010-07-19 Thread subrat agasti
even after adding the RemoveFolder element, I am getting the same error. this is the directory structure that i am using. Directory Id=ProgramMenuFolder Name=Programs Directory Id=ProgramMenuDir Name=EFI Directory Id=EFIMonarch Name=EFI Monarch

[WiX-users] default directory in WixUI_InstallDir

2010-07-19 Thread subrat agasti
The default directory in WixUI_InstallDir is always D:. How do i change it to directory C:. It is also not showing my directory structure defined in .wxs file. why is that ? what will i have to do to show the directory structure? Regards, Subrat Agasti