[WiX-users] Clearing values from App pool...

2009-08-17 Thread Ravikumar Gopinath

Our servers currently have values set for virtual memory and Private memory 
limits for recycling the app pools. We do it through the MSIs. Now, I want to 
clear those values.  If I just remove the values from the iis:WebAppPool 
element, the old values don't get removed. How do I remove the old values using 
MSI? Is there some value for these in the WebAppPool element that will clear 
them?

 

Thanks

Ravi
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error using WindowsVolume predefined folder...

2009-07-23 Thread Ravikumar Gopinath

I need to get the system drive of the target machine during installation. 
WindowsVolume appears to do that . So I am trying to use the predefined 
property WindowsVolume like this:

 

Directory Id=TARGETDIR Name=SourceDir

Directory Id=WindowsVolume

...

/Directory

/Directory

 

When I try to compile it, I get an error saying 

 

The Directory Name: WindowsVolume is the same as one of the MSI public 
properties and can cause unforeseen side effects.

 

If I replace WindowsVolume with ProgramFilesFolder, it compiles fine. Why 
doesn't it compile with WindowsVolume property?

 

Is there any other way to get the System Drive on the target machine so that I 
can install my files there?

 

Thanks

Ravi
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Settting AppPools to Integrated mode in IIS 7.0

2009-06-09 Thread Ravikumar Gopinath

I am trying to install a web application, and the app pools created as part of 
the installation process is being set to Classic type on Windows server 2008 
box with IIS 7.0. The documentation doesn't say anything about setting the app 
pool type to Integrated mode. How can I set the app pool to integrated 
mode? 

 

Thanks

Ravi
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Virtual Directories not getting created on IIS 7.0 ...

2009-06-04 Thread Ravikumar Gopinath

Our Msi works fine on IIS 6.0. It creates virtual directories and configures 
web sites with right port, SSL cert etc. However, when we run the same on IIS 
7.0, the virtual directories aren't getting created. I verified that the IIS 
6.0 compatability pack is installed on our windows server 2008 box with IIS 
7.0. 

 

The app pools are getting created properly, though they are set to the classic 
mode instead of integrated mode. How do we set the app pool to be integrated 
mode by default?

 

Thanks

Ravi
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Selecting log settings for IIS ...

2009-02-11 Thread Ravikumar Gopinath

On our websites, we want to select the properties to log, like Host( cs-host), 
bytes sent etc. How can we set this properties through Wix? 
 
Thanks
Ravi
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] AspnetCompiler task...

2009-01-15 Thread Ravikumar Gopinath

I am using the AspNetCompiler task to build our asp.net project. I have the 
Force attribute set to True. If I set it false, will it compile only if 
the files  are changed, or will it not compile if the target directory is 
present ( irrespective of files changed or not) ?
 
Thanks
Ravi
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Giving user permission to log on as batch job during setup...

2009-01-13 Thread Ravikumar Gopinath

How can I give a user account permission to log on as batch job during setup? 
 ThanksRavi
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditionally installing a component...

2008-04-11 Thread Ravikumar Gopinath

Thanks Sebastian. Is it possible to set the startup type to demand or auto 
depending on a property? Using the ServiceInstall element, I would have to have 
them again within a conditional component, and that would mean adding the 
executable file also to both components having the ServiceInstall element. That 
would introduce maintenance issues later on. It would be great to separate the 
service installation, and service management( change startup type, start or 
stop service etc), so that I could do the install common for all cases, and 
only manage them as required.
 
My requirements in a nutshell: I need to install a service. I need to set its 
startup type to demand or auto based on a property. And if the startup type 
is auto, I need to start the service as well. 
 
Thanks
Ravi CC: wix-users@lists.sourceforge.net From: [EMAIL PROTECTED] To: [EMAIL 
PROTECTED] Subject: Re: [WiX-users] Conditionally installing a component... 
Date: Fri, 11 Apr 2008 08:53:14 +0200  Ravi,  As the ServiceControl 
element is under a Component you may specify  a condition for that 
component. (Condition under Component)  So...  Component ... 
ConditionSTARTSERVICE/Condition ServiceControl ... / /Component  
...should work   Best regards, Sebastian Brand  Instyler Software - 
http://www.instyler.com   On Apr 11, 2008, at 24:39 , Ravikumar Gopinath 
wrote:  I have two issues that I need some help on:   1. I have a MSI 
which installs windows service on the box. It needs   to be started on 
install only if a particular property is set. The   ServiceControl element 
just has the start attribute. How can I get   it to start the service only 
if a particular element is present?  2. I want to install a component based 
on whether a property is   present or not. Can I use the Condition element to 
do this?   Thanks  Ravi
-  
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference  Don't miss 
this year's exciting event. There's still time to save   $100.  Use 
priority code J8TL2D2.  
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 -
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
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] Condition column and formatted text...

2008-04-11 Thread Ravikumar Gopinath

I am using a custom table which has a column whose type is string and category 
is Condition. I want to set the column value to a property like this : Data 
Column=Condition[ENABLED]/Data
 
However, when I build the MSI, I get an error stating ICE03: Bad conditional 
string. Table: JobsTable, Column: Condition, key job1.
 
Is there some way to set a property to table column with category Condition?
 
Thanks
Ravi-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
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] Conditionally installing a component...

2008-04-10 Thread Ravikumar Gopinath

I have two issues that I need some help on:
 
1. I have a MSI which installs windows service on the box. It needs to be 
started on install only if a particular property is set. The ServiceControl 
element just has the start attribute. How can I get it to start the service 
only if a particular element is present?
2. I want to install a component based on whether a property is present or not. 
Can I use the Condition element to do this?
 
Thanks
Ravi
 
 -
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
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] Setting security permissions for a directory...

2008-01-29 Thread Ravikumar Gopinath

How can I set the security permissions for a directory? The util:PermissionEx 
element can be a child of File, CreateFolder or Registry elements. How can I 
set it to the directory itself?
 
Thanks
Ravi-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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] Setting webdir properties for directory under virtual directory...

2007-10-18 Thread Ravikumar Gopinath

I need to set content expiration property ( Cache-Control: max-age=31536000 ) 
on a directory, which is under a virtual directory. I am trying to set it using 
the WebDirProperties element. My code is given below:
 
iis:WebDirProperties Id=CacheForOneYear CacheControlMaxAge=31536000/
 
I am accessing this property in the following manner:
 
iis:WebDir Id=WebsiteImagesWebDir WebSite=MyWebSite 
DirProperties=CacheForOneYear Path=WebsiteImages /
 
WebSiteImages is the ID of a directory element whose property I am trying to 
set.
 
However, this property is not getting set. Am I doing something wrong here? I 
am not sure whether setting just the WebSite property will work as my directory 
is under a virtual directory of this website. How can I get this to work?
 
ThanksRavi-
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] XmlConfig and XmlFile...

2007-10-09 Thread Ravikumar Gopinath

I am trying to use XmlConfig to delete an element from a xml file which was 
installed as part of same package. but that isn't working. If I try to modify 
an attribute using XmlFile for same ElementPath, it works fine. Am I missing 
something here?
 
my code:
 
Component Id=WHManagerXml_$(var.LCID) DiskId=1 
Guid=111BCB33-664E-42ca-A186-DE04C317681D File Id=TestxmlFile 
Name=test.xml Source=test.xml/util:XmlConfig
Id=TestXmlChangeFile=[TestxmlFile]  
  Action=deleteNode=element 
ElementPath=Parent/Descendant1/Descendant2
VerifyPath=Parent/Descendant1 
//Component
Am I missing anything here?
 
Thanks
Ravi


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: XmlConfig and XmlFile...Date: Mon, 
8 Oct 2007 19:10:40 -0700


What is the difference between XmlConfig and XmlFile elements? Is XmlConfig 
used to add/modify/delete both elements and attributes from xml files and 
XmlFile used to add/modify/delete attributes only from xml files? I need to 
install a xml file and then delete some of its elements based on some 
condition. Do I use XmlConfig or XmlFile for this operation? ThanksRavi-
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] XmlConfig and XmlFile...

2007-10-08 Thread Ravikumar Gopinath

What is the difference between XmlConfig and XmlFile elements? Is XmlConfig 
used to add/modify/delete both elements and attributes from xml files and 
XmlFile used to add/modify/delete attributes only from xml files?
 
I need to install a xml file and then delete some of its elements based on some 
condition. Do I use XmlConfig or XmlFile for this operation?
 
Thanks
Ravi-
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] Including cab file within MSI...

2007-08-04 Thread Ravikumar Gopinath
I am still not able to get wxs to read the source files from a cab file. I have 
the following lines in my wxs file:
 
Media Id='1' Cabinet='themes1.cab' EmbedCab='no' /
 
Directory Id=directory1 DiskId=1 ShortName=ACCOUN_1 Name=Accounting 
Component Id=component0 DiskId=1 
Guid=30548E66-C0DE-4990-B1DE-EEC3916E8D71
File Id=file2 Name=t12.jpg /
File Id=file3 Name=t13.jpg /
/Component
/Directory
If I do a cabarc -l on my cab file, i can see the contents with file names like 
Accounting\t12.jpg . But I get errors which says that it cannot find file 
\Accounting\t12.jpg.
 
What am I doing wrong here?
 
ThanksRavi


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: RE: [WiX-users] 
Including cab file within MSI...Date: Tue, 26 Jun 2007 11:42:42 -0700


Thanks Mike, that's exactly what I needed. I have multiple cab files though, 
and I will see if I can embed multiple cab files in the MSI. If I set the Media 
element to point to the cab file and set the id on the media element, I would 
have to specify this id in the DiskId for the File element, right? I want the 
installer to extract the files at install time from the embedded cab files, and 
delete them during uninstall. I didn't get what you meant when you said If you 
don't want the installer to manage files in the CAB. Can you please elaborate? 
ThanksRavi


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: RE: [WiX-users] 
Including cab file within MSI...Date: Tue, 26 Jun 2007 19:30:22 +0100







Do you mean just installing the CAB files as files, not extracting the 
contents? If so, just use the File element to install the CAB.
 
If you want the contents of the CAB extracted, you can use the Media element to 
reuse the existing CABs, as long as they are external to the installer. List 
the files within the CAB as appropriate File elements, using the DiskId 
attribute to specify the CAB that the files live in. Specify -reusecab on the 
light command line to reuse the existing CABs.
 
If you want the CAB to be embedded in the installer, it may be possible to set 
Media/@EmbedCab to 'yes'. I can’t recall offhand whether you can embed multiple 
CABs in the same installer.
 
Finally, if you want to include the CAB in the installer and have it extracted 
at install time, but you don’t want Windows Installer to manage the files in 
the CAB, you need a custom action. I wouldn’t recommend this because you 
obviously don’t get the benefits of automatic repair or install-on-first-use 
(at least, not without extra work on your part).
 
--
Mike Dimmick
 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravikumar 
GopinathSent: 26 June 2007 18:48To: [EMAIL PROTECTED]: [WiX-users] Including 
cab file within MSI...
 
I have a couple of cab files which contains quite a few files within them. I 
want to include the cab files in my installer and unpack the cab files during 
install, and delete those unpacked files during uninstall. Is it possible to do 
this? If so, how can I do it? ThanksRavi-
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] Including cab file within MSI...

2007-06-26 Thread Ravikumar Gopinath
I have a couple of cab files which contains quite a few files within them. I 
want to include the cab files in my installer and unpack the cab files during 
install, and delete those unpacked files during uninstall. Is it possible to do 
this? If so, how can I do it?
 
Thanks
Ravi-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Including cab file within MSI...

2007-06-26 Thread Ravikumar Gopinath
Thanks Mike, that's exactly what I needed. I have multiple cab files though, 
and I will see if I can embed multiple cab files in the MSI.
 
If I set the Media element to point to the cab file and set the id on the media 
element, I would have to specify this id in the DiskId for the File element, 
right?
 
I want the installer to extract the files at install time from the embedded cab 
files, and delete them during uninstall. I didn't get what you meant when you 
said If you don't want the installer to manage files in the CAB. Can you 
please elaborate?
 
ThanksRavi


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: RE: [WiX-users] 
Including cab file within MSI...Date: Tue, 26 Jun 2007 19:30:22 +0100








Do you mean just installing the CAB files as files, not extracting the 
contents? If so, just use the File element to install the CAB.
 
If you want the contents of the CAB extracted, you can use the Media element to 
reuse the existing CABs, as long as they are external to the installer. List 
the files within the CAB as appropriate File elements, using the DiskId 
attribute to specify the CAB that the files live in. Specify -reusecab on the 
light command line to reuse the existing CABs.
 
If you want the CAB to be embedded in the installer, it may be possible to set 
Media/@EmbedCab to 'yes'. I can’t recall offhand whether you can embed multiple 
CABs in the same installer.
 
Finally, if you want to include the CAB in the installer and have it extracted 
at install time, but you don’t want Windows Installer to manage the files in 
the CAB, you need a custom action. I wouldn’t recommend this because you 
obviously don’t get the benefits of automatic repair or install-on-first-use 
(at least, not without extra work on your part).
 
--
Mike Dimmick
 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravikumar 
GopinathSent: 26 June 2007 18:48To: [EMAIL PROTECTED]: [WiX-users] Including 
cab file within MSI...
 
I have a couple of cab files which contains quite a few files within them. I 
want to include the cab files in my installer and unpack the cab files during 
install, and delete those unpacked files during uninstall. Is it possible to do 
this? If so, how can I do it? ThanksRavi-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Permission element and setting permissions on folder...

2007-02-28 Thread Ravikumar Gopinath







I want to set the following permissions on my folder: read  execute, list 
contents, read, write, modify.  How do I set these permissions? The Permission 
element has GenericAll which gives full control. Setting both 
GenericRead=yes and GenericWrite=yes gives read  write permissions only, 
but not read  execute and list folder contents.  Is there any other way to 
set these permissions? ThanksRavi-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Permission element and setting permissions on folder...

2007-02-26 Thread Ravikumar Gopinath
I want to set the following permissions on my folder:
 
read  execute, list contents, read, write, modify. 
 
How do I set these permissions? The Permission element has GenericAll which 
gives full control. Setting both GenericRead=yes and GenericWrite=yes 
gives read  write permissions only, but not read  execute and list folder 
contents. 
 
Is there any other way to set these permissions?
 
ThanksRavi-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Platforms attribute of Package element...

2007-01-18 Thread Ravikumar Gopinath
Hi,
I need to set the Platforms attribute of Package element to either 64-bit or 
default(platform independent) during build. Is Intel the default value for 
Platforms attribute?
 
Thanks
Ravi-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Setting Port value through property...

2007-01-14 Thread Ravikumar Gopinath
I need to set the Port and description value of a website based on user's 
input. I am trying to use a property, but the install fails. If I was using a 
CustomTable, I could have used session.FormatString method. However, since 
this is a wix defined table, I am not sure how to tell it to format it. Is 
there any other way of achieving the same result?
 
iis:WebSiteId=MyWebServerDirectory=C:\MyApp
Description=[SITENAMEPROPERTY]iis:WebAddress Id=SitePort 
Port=[WebSitePort] //iis:WebSite
Thanks
Ravi-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Setting Port value through property...

2007-01-14 Thread Ravikumar Gopinath
It doesn't appear to work. I am trying to do the following:
 
Property id=WebSitePort value=[PUBLICSITEPORT] / 
 
And this property is used in the IIS:Website table as this value can be set by 
other setup packages too whcih include this wxs file.
 
iis:WebSiteId=MyWebServerDirectory=C:\MyApp
Description=[SITENAMEPROPERTY]iis:WebAddress Id=SitePort 
Port=[WebSitePort] //iis:WebSite
 
When i do this, i get the following error:
 
ConfigureIIs:  Error 0x8007000d: invalid port provided for web site: 
ConfigureIIs:  Error 0x8007000d: failed to read IIsWebSite tableMSI (s) (74!00) 
[09:56:20:798]: Product: Test Web Server -- Error 26002. Failed to read 
IIsWebSite table.   (-2147024883 )
Thanks
Ravi
 


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: Sun, 14 Jan 2007 
13:22:16 -0800Subject: RE: [WiX-users] Setting Port value through property...




That should work.  However, only upper-case Properties can be specified from 
the command-line.
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravikumar 
GopinathSent: Sunday, January 14, 2007 11:11 AMTo: [EMAIL PROTECTED]: 
[WiX-users] Setting Port value through property...
 
I need to set the Port and description value of a website based on user's 
input. I am trying to use a property, but the install fails. If I was using a 
CustomTable, I could have used session.FormatString method. However, since 
this is a wix defined table, I am not sure how to tell it to format it. Is 
there any other way of achieving the same result? iis:WebSite
Id=MyWebServerDirectory=C:\MyApp
Description=[SITENAMEPROPERTY]iis:WebAddress Id=SitePort 
Port=[WebSitePort] //iis:WebSiteThanksRavi-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Setting Port value through property...

2007-01-14 Thread Ravikumar Gopinath
Thanks! The type 51 custom action resolved the issue.
 
On uninstall however, this parameter doesn't get passed and uninstall fails 
with same error if uninstalled through control panel's Add/Remove program:
 
ConfigureIIs:  Error 0x8007000d: invalid port provided for web site: 
ConfigureIIs:  Error 0x8007000d: failed to read IIsWebSite tableHowever, if 
manually uninstalled through command line by passing in the parameters, it 
uninstalls properly. 
 
Is there some way to get it to uninstall through control panel too? 
 
Thanks
Ravi


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: Sun, 14 Jan 2007 
16:52:37 -0800Subject: RE: [WiX-users] Setting Port value through property...






That property definition is setting WebSitePort to the string 
“[PUBLICSITEPORT]” not the value stored in the Property PUBLICSITEPORT.  So the 
CustomAction fails because it doesn’t find a number.
 
Why don’t you do:
 
iis:WebAddress  Id=”SitePort” Port=”[PUBLICSITEPORT]”/
 
Or you could use a Type 51 Customaction to set the WebSitePort Property to the 
value of the PUBLICSITEPORT Property.
 


From: Ravikumar Gopinath [mailto:[EMAIL PROTECTED] Sent: Sunday, January 14, 
2007 3:51 PMTo: Rob Mensching; [EMAIL PROTECTED]: RE: [WiX-users] Setting Port 
value through property...
 
It doesn't appear to work. I am trying to do the following: Property 
id=WebSitePort value=[PUBLICSITEPORT] /  And this property is used in the 
IIS:Website table as this value can be set by other setup packages too whcih 
include this wxs file. iis:WebSiteId=MyWebServer
Directory=C:\MyAppDescription=[SITENAMEPROPERTY]
iis:WebAddress Id=SitePort Port=[WebSitePort] //iis:WebSite When i 
do this, i get the following error: ConfigureIIs:  Error 0x8007000d: invalid 
port provided for web site: ConfigureIIs:  Error 0x8007000d: failed to read 
IIsWebSite tableMSI (s) (74!00) [09:56:20:798]: Product: Test Web Server -- 
Error 26002. Failed to read IIsWebSite table.   (-2147024883 
)ThanksRavi 



From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: Sun, 14 Jan 2007 
13:22:16 -0800Subject: RE: [WiX-users] Setting Port value through property...

That should work.  However, only upper-case Properties can be specified from 
the command-line.
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravikumar 
GopinathSent: Sunday, January 14, 2007 11:11 AMTo: [EMAIL PROTECTED]: 
[WiX-users] Setting Port value through property...
 
I need to set the Port and description value of a website based on user's 
input. I am trying to use a property, but the install fails. If I was using a 
CustomTable, I could have used session.FormatString method. However, since 
this is a wix defined table, I am not sure how to tell it to format it. Is 
there any other way of achieving the same result? iis:WebSite
Id=MyWebServerDirectory=C:\MyApp
Description=[SITENAMEPROPERTY]iis:WebAddress Id=SitePort 
Port=[WebSitePort] //iis:WebSiteThanksRavi-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Setting all components to 64-bit by default...

2007-01-12 Thread Ravikumar Gopinath
Hi,
By default, WIX treats all components as 32-bit. Our installation package will 
install either 32 bits or 64-bits binaries and we don’t have any mixed files 
going into separate directories. Is it possible to mark all components as 
64-bit? Without this, I would have to go to each individual component and set 
its Win64 value to yes or no based on whether it is being compiled for amd64 or 
x86 platform. If I can mark all components as either 32 bit or 64-bit at 
compile time globally, it would be great.I am working with existing project 
which already has lots of components. I want to avoid adding a 
variable/parameter to each component if possible.
 
Thank you, 
Ravi-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users