[WiX-users] How to debug MSI properties?

2008-10-30 Thread [EMAIL PROTECTED]
Our kit has a feature that's depending on
VS90_IDE_VC_PROJECTSYSTEM_INSTALLED being defined.  I'm installing onto a
VMWare image with VS2008 and (only) Visual C++ installed, and the feature
fails to install.  The feature that depends on VS2005 seems to install
properly onto a similarly configured VMWare image with VS2005 and (only)
VC++.

Is there any way I can get a dump of the MSI properties that are defined
during an installation?

Thanks.

 - Barry Tannenbaum
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Resetting Visual Studio Addins

2008-10-16 Thread [EMAIL PROTECTED]
Our product includes a Visual Studio addin.  For the most part everything
works fine, but occasionally we need to reset the addin.  Visual Studio
documents the /resetaddin option to do this:

devenv /resetaddin MyAddin.Connect

We can include the command in our documentation, but it would be much cooler
to do the right thing automatically in our installer.  Unfortunately in
addition to resetting the addin, the command also brings up the IDE.  I can
force the IDE to exit by adding /command exit to the command line, but
that results in the IDE window flashing up onto the screen and then going
away.

I've managed to get this into our Wix script with the following entries:

  CustomAction
 Id=VS2005ResetAddin
 Property=VS2005DEVENV
 ExeCommand=/resetaddin MyAddin.Connect /command exit
 Return=asyncNoWait /

  InstallExecuteSequence
 Custom Action=VS2005ResetAddin Before=InstallFinalize /
  /InstallExecuteSequence

CustomAction doesn't appear to have any way to influence the initial window
state, and even if I try to from the command line with

start /min devenv /resetaddin MyAddin.Connect /command exit

I get the window flash.  Can anybody suggest any way to suppress the display
of the IDE window?

Thanks.

- Barry
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] save logfile

2008-08-29 Thread [EMAIL PROTECTED]
Yes,
the attached code is only a simplified version. the real code uses a
different directory and a random name.

But my problem is, that the file is not even created if i use only the
installexecute-sequence. and i would prefer to use that sequence.

regards
Bernd


Buddell, James schrieb:
 Can you put the date and time in the log file name? Or use /l*v+ on the 
 command line to append to the old log file?

 Cheers,
 James 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL 
 PROTECTED]
 Sent: 29 August 2008 14:07
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] save logfile

 I need to save the logfile of the installation-process everytime.
 If i use the InstallUISequence it works, but not if i use the 
 InstallExecuteSequence. Why?


 InstallUISequence
   Custom Action=EnableLog Sequence=1/Custom /InstallUISequence

 or

 InstallExecuteSequence
   Custom Action=EnableLog Sequence=1/Custom 
 /InstallExecuteSequence



 Binary Id=CustomLogs.vbs SourceFile=CustomLogs.vbs  / CustomAction 
 Id=EnableLog BinaryKey=CustomLogs.vbs VBScriptCall=LogEnable 
 Return=check /
 
 function LogEnable
   Session.Installer.EnableLog voicewarmup, C:\setup.log
 end function
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

   



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Debug / Release version of dependencies

2008-04-07 Thread [EMAIL PROTECTED]
I usually have my WiX installer as a project inside of my Visual Studio 
solution.  When I do a build, I want the installer to be built using the Debug 
files in Debug mode, or the Release files in Release mode.

What I do to accomplish this is that I pass a pre-processor property to WiX 
named Configuration and set Configuration to either Debug or Release in the 
build settings.  Then inside of my WiX file, I use $(var.Configuration) in the 
file paths.  At compile time, WiX's preprocessor will replace 
$(var.Configuration) with either Debug or Release.  This allows the same 
build script to load debug files in a debug build or release files in a release 
build.

I hope that this helps to answer your question.



From: Charlebois, Cameron TMC [EMAIL PROTECTED]
Sent: Monday, April 07, 2008 1:07 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Debug / Release version of dependencies 

I am a WIX noob so please bear with me.  
  
I setup a WIX project, made it dependant on the projects I want to 
distribute/package in my MSI. When I compile my WIX project all of the other 
projects compile and I can get the latest versions of the files. Everything 
works and is wonderful. 
  
The problem is that I usually keep my projects in a debug configuration which 
means that when I do this I get the debug versions of my projects. I need the 
release versions (there is a bunch of post-build and stuff that is very, very 
time consuming that only happens with a release version). So is there a way to 
get the release version into my WIX MSI or is this beyond WIX's scope? I 
haven't found anything in the tutorial or when Googling for changing which 
version gets built during the WIX compile of the MSI. 
  
Any help would be greatly appreciated. 
  
Thanks 
  
-Cam 
  

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] adding mimemap to Webvirtualdir

2007-10-30 Thread [EMAIL PROTECTED]
Hi all,

I want to know how the iis:mimemap tag works, it seems to need an id but do not 
know how to add an MIME element although in the helpfile is written that it 
schould be child of Wix tag.

Second thing is that I want to add a wildcard mime (after I know how to add a 
MIME to a webvirtualdir) like 
„*,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,0,All or is 
it better to call a vbscript instead?

 

Thanks Peter

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] dynamically fill a combobox

2007-10-04 Thread [EMAIL PROTECTED]
Hi Phil,

Thanks, that is exactly what I was looking for. Unfortunately I am not very 
common with vbscript but it seems the best language for Windows Installer 
Custom Actions. Is it also possible to set one value as default (because I read 
the MSI SDK and it seems that there is no column for this)?

Is there also a nice source where I can gain some examples of customactions 
using vbscript?

Greetings Peter

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil
Sent: Tuesday, October 02, 2007 7:59 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] dynamically fill a combobox

 

Collected but not used by me, this VBScript used in a custom action may help:

 

Function Combo()

 

' This function initializes and then sets variables to set values for the four 
columns

' of the ComboBox table (Property, Order, Value and Text).  Then a function is 
called to add

' the row of values to the table.

 

'  Initialize variables used for each column of the ComboBox table

Dim ComboProp

Dim ComboOrder

Dim ComboValue

Dim ComboText

 

'  Set properties for each of the four columns

ComboProp = COMBO

ComboOrder = 1

ComboValue = Dog

ComboText = Dog

 

'  Call function to add this row of values to the ComboBox table

addToComboBox ComboProp, ComboOrder, ComboValue, ComboText

 

'Repeat Process as needed

 

ComboProp = COMBO

ComboOrder = 2

ComboValue = Cat

ComboText = Cat

addToComboBox ComboProp, ComboOrder, ComboValue, ComboText

 

ComboProp = COMBO

ComboOrder = 3

ComboValue = Frog

ComboText = Frog

addToComboBox ComboProp, ComboOrder, ComboValue, ComboText

 

ComboProp = COMBO

ComboOrder = 4

ComboValue = Bird

ComboText = Bird

addToComboBox ComboProp, ComboOrder, ComboValue, ComboText

 

End Function

 

 

 

Function addToComboBox(ByVal ComboProp, ByVal ComboOrder, ByVal ComboValue, 
ByVal ComboText)

 

' This function takes values passed into it from the function call and uses 
these values to create

' and execute a view within the current session of the Windows Installer 
object.  This view is based

' on a SQL query constructed using the values passed into the function.  If you 
wish to get a deeper

' understanding of how this function works you should read up on the Windows 
Installer object

' model in the Windows Installer SDK.

 

' Initialize variables

Dim query

Dim view

 

' Construct query based on values passed into the function.

' NOTE:  The ` character used is not a single quote, but rather a back quote.  
This character is typically

' found on the key used for the ~ symbol in the upper left of the keyboard.

 

query = INSERT INTO `ComboBox` (`Property`, `Order`, `Value`, 
`Text`) VALUES ('  ComboProp  ',   ComboOrder  , '  ComboValue  ', 
'  ComboText  ') TEMPORARY

 

 

' This statement creates the view object based on our query

Set view = Session.Database.OpenView(query)

 

' This statement executes the view, which actually adds the row into the 
ComboBox table.

view.Execute

 

End Function

=

 

Phil Wilson 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2007 1:24 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] dynamically fill a combobox

 

Hi,

I want to use a custom action to fill dynamically a combobox. But I do not know 
how the output of the custom action should look like. I only think to know that 
I have to bind a property to the ouput to get the selected item of the combobox.

 

Regards, Peter

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] dynamically fill a combobox

2007-10-02 Thread [EMAIL PROTECTED]
Hi,

I want to use a custom action to fill dynamically a combobox. But I do not know 
how the output of the custom action should look like. I only think to know that 
I have to bind a property to the ouput to get the selected item of the combobox.

 

Regards, Peter

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] choosing Website and changing Virtual Directory

2007-09-26 Thread [EMAIL PROTECTED]
Hi Matt,
Sorry, I think I expressed myself a little bit confusing. I never have written 
vbscript code but your example is pretty much that what I was looking for. I 
realized after a while that there is a VBScriptCall attribute for the Custom 
Actions so its not so hard to implement it.
Meanwhile I did some evil reverse engineering and took the custom action of 
Visual Studio Websetup to gain the entries. But unfortunately I do not know who 
it works, it only gives me the result. So I can show now the entries in the 
Combobox and I can get the choosen /LM/W3SVC/2 for example but I do not know 
what the Wix iis:Website really needs so that I can dynamically install to a 
specified Website of the IIS.

Greetings Peter

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 4:44 PM
To: [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: Re: [WiX-users] choosing Website (not Webserver) and changing Virtual 
Directory

I don't totally understand what you mean about Custom Action vbscript. I'm
not sure if you mean you don't know vbscript as a language for Custom
Actions or you don't understand the VBScript in adsutil.

If it's the later, fear not, as I was over-complicating it a bit by saying
use adsutil - I've included these snippets come from http://www.iisfaq.com
- I've not tested them at the mo though as i don't have an IIS setup i can
test them on.

this VBScript will list the websites on the webserver:

  Set objIIS = getObject(IIS://LocalHost/W3SVC)
  For each objSite in objIIS
if (objSite.Class = IIsWebServer) then
  WScript.Echo Website:   objSite.Name   -  
objSite.ServerComment
end if
  next

I believe this will give you the virtual folders for a given website ID:

  Set objIISSite = getObject(IIS://LocalHost/W3SVC/Add the
website ID here---)
  For each objVirDir in objIISSite
if (objVirDir.Class = IISWebVirtualDir) then
  WScript.Echo VirtualDir:   objVirDir.Name
end if
  next

If it's the former, that is you don't know much about custom actions and
vbscript, i'm sorry to say i can't help much with that - i've not written
any custom actions myself for a long time...

Matt


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Change the parentdirectory of a mergemodule

2007-09-26 Thread [EMAIL PROTECTED]
Hi Rob,

I have just decompiled the mergemodules made by Visual Studio, which I use and 
searched for the property that sets the path. In my main wxs I overwrite the 
property with the one choosen in the dialog. I think it is not a good solution 
but I do not get along with the Windows Installer SDK because WiX is much more 
easier to handle :). But I am about to working me through the MSI SDK because 
it seems that its really necessary if you want to write a more proper installer 
than using such „workarounds“.

 

Greetings Peter



From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 26, 2007 10:25 AM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Change the parentdirectory of a mergemodule

 

Yes, the Directories that are parented to TARGETDIR can be “reparented”.  The 
MSI SDK talks about how you can author your Merge Module’s directory table to 
be retargetable.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2007 02:12
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Change the parentdirectory of a mergemodule

 

Hi,

 

Is there a posibility to change the parent Directory of a merge module? At the 
moment I am using a custom action that changes the directory below TARGETDIR. 
All files of this target will be installed fine, but all Subfolders are 
installed to „[TARGETDIR]Module Retargetable Folder\subdir“. It is a Merge 
module created by VS2005 but i think that does not matter. So I just search 
some kind of property to set Module Retargetable Folder for all subfolders. 
Even the log is telling me nothing but the directory Ids reference to the 
[TARGETDIR]Module Retargetable Folder\subdir 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] choosing Webserver and changing Virtual Directory

2007-09-26 Thread [EMAIL PROTECTED]
Yes Rob I have realized that its not so easy. But the post of me is wrong 
because I want to choose the website (perhaps you have read it from the mail 
list ) and now I am at the point where I gain the /LM/W3SVC/1 for example, but 
what does not know what the iis:website or iis:webadress in WiX need to 
reference it to the right website of the IIS. Or is there some documentation 
about it?

 



From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 26, 2007 10:25 AM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] choosing Webserver and changing Virtual Directory

 

You'd need a CustomAction to gather the WebAddress information then use 
properties to set that.  It's a lot more complicated that the VDir scenario.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, September 24, 2007 04:50
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] choosing Webserver and changing Virtual Directory

 

Hi all,

I am searching a posibility how I could let the customer choose the webserver 
(like in the Visual Studio WebSetup) and to change the Virtual Directory. I 
think changing the Virtual Directory  should not be a big problem, just adding 
a Textbox and triggering a custom action setting the property of the Virtual 
directory new. But how can I gain access to the webserver list so that I can 
choose one and how can I tell Wix that it should use this Webserver?

 

Greets Peter

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Events of the Publish Tag

2007-09-25 Thread [EMAIL PROTECTED]
Is there a source where I can get to know about all Standard Events you can use 
in the Publish Tag of the Controls? Unfortunately I can not find anything about 
it in the help. I am using wix v3

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] choosing Website (not Webserver) and changing Virtual Directory

2007-09-25 Thread [EMAIL PROTECTED]
 

I feel so sorry for this post. On Czech Windows you can create so called 
„webovy server“ and it seems to be the wrong translation because I have seen an 
English system now and there you create Website. Thats what I wanted to know, 
how I could choose from the installed Websites on the system, where it has to 
deploy the webapplication. I can not find an action or something else to read 
this out.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, September 24, 2007 1:50 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] choosing Webserver and changing Virtual Directory

 

Hi all,

I am searching a posibility how I could let the customer choose the webserver 
(like in the Visual Studio WebSetup) and to change the Virtual Directory. I 
think changing the Virtual Directory  should not be a big problem, just adding 
a Textbox and triggering a custom action setting the property of the Virtual 
directory new. But how can I gain access to the webserver list so that I can 
choose one and how can I tell Wix that it should use this Webserver?

 

Greets Peter

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] choosing Website (not Webserver) and changing Virtual Directory

2007-09-25 Thread [EMAIL PROTECTED]
Hi Matt,
Thanks for the answer.
If I am seeing it right, I have to use first the ENUM Parameter to find out how 
many Sites are hosted on this IIS and after that I have to parse for each Site 
the Server Comment parameter. But even if I can realize this I am not able to 
use Custom Action vbscript because I do not knot how it works :(
I think it could be a solution but i do not think that I can get it work. 
Perhaps you can show me what I have to do.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 2:58 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: Re: [WiX-users] choosing Website (not Webserver) and changing Virtual 
Directory

I recalled what the script was - adsutil.vbs - see this for more info

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx?mfr=true


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]


   
 [EMAIL PROTECTED] 
 shing.co.uk   
 Sent by:   To 
 wix-users-bounces [EMAIL PROTECTED]   
 @lists.sourceforg [EMAIL PROTECTED]   
 e.net  cc 
   [EMAIL PROTECTED] 
   .net,   
 25/09/2007 12:18  wix-users@lists.sourceforge.net   
   wix-users@lists.sourceforge.net   
   Subject 
   Re: [WiX-users] choosing Website
   (not Webserver) and changing
   Virtual Directory   
   
   
   
   
   
   




Off the top of my head I'm not sure exactly how you'd do this but I've got
some experience scripting IIS so thought I'd reply.

There's a VBScript with the IIS resource kit that can be used to query the
Metabase - maybe you could borrow the code from that, for a custom action,
to enumerate the websites available and put them in a drop down?


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]



 [EMAIL PROTECTED]
 .cz
 [EMAIL PROTECTED]  To
 .cz  wix-users@lists.sourceforge.net
 Sent by:  wix-users@lists.sourceforge.net
 wix-users-bounces  cc
 @lists.sourceforg
 e.net Subject
   Re: [WiX-users] choosing Website
   (not Webserver) and changing
 25/09/2007 12:02  Virtual Directory











I feel so sorry for this post. On Czech Windows you can create so called
„webovy server“ and it seems to be the wrong translation because I have
seen an English system now and there you create Website. Thats what I
wanted to know, how I could choose from the installed Websites on the
system, where it has to deploy the webapplication. I can not find an action
or something else to read this out.

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 24, 2007 1:50 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] choosing Webserver and changing Virtual Directory

Hi all,
I am searching a posibility how I could let the customer choose the
webserver (like in the Visual Studio WebSetup) and to change the Virtual
Directory. I think changing the Virtual Directory  should not be a big
problem, just adding a Textbox and triggering a custom action setting the
property of the Virtual directory new. But how can I gain access to the
webserver list so that I can choose one and how can I tell Wix that it
should use this Webserver?

Greets Peter
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt

[WiX-users] choosing Webserver and changing Virtual Directory

2007-09-24 Thread [EMAIL PROTECTED]
Hi all,

I am searching a posibility how I could let the customer choose the webserver 
(like in the Visual Studio WebSetup) and to change the Virtual Directory. I 
think changing the Virtual Directory  should not be a big problem, just adding 
a Textbox and triggering a custom action setting the property of the Virtual 
directory new. But how can I gain access to the webserver list so that I can 
choose one and how can I tell Wix that it should use this Webserver?

 

Greets Peter

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Change the parentdirectory of a mergemodule

2007-09-19 Thread [EMAIL PROTECTED]
Hi,

 

Is there a posibility to change the parent Directory of a merge module? At the 
moment I am using a custom action that changes the directory below TARGETDIR. 
All files of this target will be installed fine, but all Subfolders are 
installed to „[TARGETDIR]Module Retargetable Folder\subdir“. It is a Merge 
module created by VS2005 but i think that does not matter. So I just search 
some kind of property to set Module Retargetable Folder for all subfolders. 
Even the log is telling me nothing but the directory Ids reference to the 
[TARGETDIR]Module Retargetable Folder\subdir 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] telling WiX to get files from Team Foundation Server

2007-09-17 Thread [EMAIL PROTECTED]
@all interested to this post,

 

After a little bit work with it I actually found out that this works. If you 
create an msm via VS2005 and reference it in your WiX project it will work with 
a little trick. First You need the Id of the module, which you can gain from VS 
but if you just add the mergemodule, the package seems to be installed to a 
subdirectory of /dev/null . After I added a component with a file in it to the 
directory which contains the mergemodul as well as I added this component to 
the feature with the mergemodul it installed to 
[TARGETDIR]\”inVSspecifiedfolder”. If you want to change the specified folder 
(especially if you use these msm’s in other VS setups  with the “Module 
Retargetable Folder” thing) you just look through the logfile or the decompiled 
wxs of dark and search for the id of the Directory. You will also see that VS 
add a custom action to set the folder and this action is triggered 
Before=CostInitialize so you can write your own CA in your wix project, 
specify the folder and trigger the event after CostInitialize… although I think 
it’s not the best way and there is certainly a better way because I don’t know 
what will happen if the hard drive is full etc. But this works for now :-)

Thanks Richard!

Regards, Peter



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 14, 2007 3:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [WiX-users] telling WiX to get files from Team Foundation Server

 

Peter,

 

That sounds like it might just work….

 

I suspect you should also find that the directory may not be as much trouble as 
you think. Remember that your Merge element (as opposed to any MergeRef 
used to tie the contents of the merge module to a feature) will typically be 
placed inside a Directory anyway… and you have complete control over where 
the Merge element gets placed.

 

Hope it works for you! If it does, please report back here, as I am sure others 
would be interested too! :-)

 

Regards,

Richard

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 14, 2007 9:02 AM
To: Foster, Richard - PAL
Subject: RE: [WiX-users] telling WiX to get files from Team Foundation Server

 

Hi Richard,

After having a pretty good lunch I got an idea, but I dont know if WiX could 
possible do the trick. So I can let do Visual Studio do the merge modules and 
instead of creating a msi by Visual Studio I reference these msm files in a 
wxs. I was not able to try it yet, but I think there will be a problem with the 
directories I think (because at the wixtutorial the directories where specified 
in the merge modules as well as in the msi file)… but could that be some kind 
of workaround?

 

Regards,

Peter




* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Quixote Traffic 
Corporation is neither liable for the contents, nor for the proper, complete 
and timely transmission of (the information contained in) this communication. 
If you have received this communication in error, please notify the author by 
replying to this e-mail immediately and delete the material from any computer.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] telling WiX to get files from Team Foundation Server

2007-09-13 Thread [EMAIL PROTECTED]
Hi WiX-Team,

I am new to WiX and testing it for about a week, because we need to customize 
the standard Setup of Visual Studio for our webapplication. The problem is that 
we got a pretty big webapplication (about 3000 files and 200 folders to deploy) 
and we are using VS 2005 with Team Foundation Server. So here is the problem 
concerning WiX, I was not able to find any solution in WiX to told it to get 
every File of the Repository folder (especially new checked-in files), the only 
thing I found was to write to the wxs the folderstructure and then adding the 
files, but it is really time consuming to do this and its not really an 
autobuild. Also heat was not able to create a wxs file for me because it does 
always exit with a System.ArgumentNullException. If I decompile the setup of 
Visual Studio with dark it creates me a 2MB wxs file with no real structure at 
all. So is there a possibility to solve this case, or perhaps is there some 
kind of workaround or other technology that could help me out, because I do not 
find a post in the mailing list concerning this problem (or perhaps I was only 
not able to find it)

 

Regards,

Peter Huster

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Install to ROOTDRIVE

2007-08-27 Thread Darrell ([EMAIL PROTECTED])
I am looking to have my application default to installing on the same 
drive that they have Windows installed on.  I believe that is called the 
ROOTDRIVE.  However using the following it defaults to whatever drive 
the installer is launched from.

Directory Id=TARGETDIR Name=SourceDir
Directory Id=CompanyFolder Name=CompanyName 
Directory Id=INSTALLLOCATION Name=ProductName

How can I change the above so that it defaults to the root drive where 
they installed Windows?

Thanks
Darrell

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Overwrite an Existing File (More Info)

2007-08-25 Thread Darrell ([EMAIL PROTECTED])
Oddly enough the file was the original file. I can't explain why. I did 
end up finding I could set the following property and this overwrites 
all of the files.


Property Id='REINSTALLMODE' Value='amus'/

Darrell



Wilson, Phil wrote:

This is confusing - the log says Overwrite, hash doesn't match source
file, and all that means that it DID replace the file on disk. If it
wasn't going to replace it you'd see something like  Won't Overwrite;
Won't patch;Existing file is unversioned and unmodified - hash
matches source file 

Phil Wilson 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darrell
([EMAIL PROTECTED])
Sent: Friday, August 24, 2007 1:36 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Overwrite an Existing File (More Info)

Looking into this I found the following from the Windows Installer Log.

MSI (s) (BC:A8) [16:12:38:802]: Executing op: 
FileCopy(SourceName=iumwmdfq.con|docinfo.exe.config,SourceCabKey=config,

DestName=docinfo.exe.config,Attributes=512,FileSize=11567,PerTick=32768,
,VerifyMedia=1,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashP
art1=-1712850835,HashPart2=1231145881,HashPart3=-146243111,HashPart4=472
064521,,)
MSI (s) (BC:A8) [16:12:38:802]: File: C:\docinfo\docinfo.exe.config;
Overwrite;Won't patch;Existing file is unversioned and 
unmodified - hash doesn't match source file


How do I version files or tell WiX that I would like this file installed

anyways?

Darrell

darrell_list wrote:
  

I am moving my project from the install being just unzipping it to

being 
  

installed through a WiX created installer package (via Visual Studio

Plug 
  
In). 


I ran into an issue where WiX will not overwrite files in the folder

with 
  

the newer files from the installer.  Keep in mind this is not an

upgrade 
  
since there was no installer for the last version of my program. 


How can I get my WiX package to overwrite existing files if they exist

in 
  
the folder prior to the installation? 


Thanks,
Darrell





-
  

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a


browser.
  

Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


  



  


--
--
Check out http://www.invariantsystems.com for utilities for Declude, Imail, 
mxGuard, and ORF.  IMail/Declude Overflow Queue Monitoring, SURBL/URI 
integration, MRTG Integration, and Log Parsers.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Overwrite an Existing File (More Info)

2007-08-24 Thread Darrell ([EMAIL PROTECTED])
Looking into this I found the following from the Windows Installer Log.

MSI (s) (BC:A8) [16:12:38:802]: Executing op: 
FileCopy(SourceName=iumwmdfq.con|docinfo.exe.config,SourceCabKey=config,DestName=docinfo.exe.config,Attributes=512,FileSize=11567,PerTick=32768,,VerifyMedia=1,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-1712850835,HashPart2=1231145881,HashPart3=-146243111,HashPart4=472064521,,)
MSI (s) (BC:A8) [16:12:38:802]: File: C:\docinfo\docinfo.exe.config;
Overwrite;Won't patch;Existing file is unversioned and 
unmodified - hash doesn't match source file

How do I version files or tell WiX that I would like this file installed 
anyways?

Darrell

darrell_list wrote:
 I am moving my project from the install being just unzipping it to being 
 installed through a WiX created installer package (via Visual Studio Plug 
 In). 

 I ran into an issue where WiX will not overwrite files in the folder with 
 the newer files from the installer.  Keep in mind this is not an upgrade 
 since there was no installer for the last version of my program. 

 How can I get my WiX package to overwrite existing files if they exist in 
 the folder prior to the installation? 

 Thanks,
 Darrell

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


   

-- 
--
Check out http://www.invariantsystems.com for utilities for Declude, Imail, 
mxGuard, and ORF.  IMail/Declude Overflow Queue Monitoring, SURBL/URI 
integration, MRTG Integration, and Log Parsers.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users