Re: [WiX-users] Light System.AccessViolationException error(Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish)

2007-01-31 Thread Mike Dimmick
The WiX tools generate an 0001 error when any unexpected exception occurs.
They log the original error message as supplied in the original exception.
In this case an AccessViolationException occurred, which is generated by the
.NET Common Language Runtime whenever some external code (P/Invoke or COM
Interop) generates a Win32 STATUS_ACCESS_VIOLATION (0xC005) structured
exception.

Other discussions on this list indicate that CABs have an upper limit of
2GB. Split your install into multiple smaller CABs.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of raj ganesh
Sent: 31 January 2007 04:44
To: wix-devs@lists.sourceforge.net; wix-users@lists.sourceforge.net
Subject: [WiX-users] Light System.AccessViolationException
error(Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFi
nish)

 We are seeing an access violation in light.exe (filever 2.0.4103.0)
when creating the cab file for the debug target (happens when the cab
file size exceeds 2 GB) -

light.exe : error LGHT0001 : Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.

Exception Type: System.AccessViolationException

Stack Trace:
   at
Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish
(IntPtr contextHandle)
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Close()
   at Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinet(String
cabinetDir , String cabinetName, CompressionLevel level, ArrayList
files, ImportStreamColle ction importStreams, ArrayList fileTransfers)
   at
Microsoft.Tools.WindowsInstallerXml.Binder.ProcessMediaInformation(String
databasePath, Output output, ArrayList fileTransfers)
   at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)

Unhandled Exception: System.AccessViolationException: Attempted to
read or write  protected memory. This is often an indication that
other memory is corrupt.
   at
Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish
(IntPtr contextHandle)
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Close()
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Dispose(Boolean
dispo
sing)
   at Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Finalize()
dmake.exe:  Error code 129, while making 'debug'

Going by the build log just before the error its in the cabbing stage -

Cabbing file Interaction_Center_su_readme.html from
'Interaction_Center_su_readm
e.html'.
Cabbing file Interaction_Center_su_summary.html from
'Interaction_Center_su_summary.html'.
Cabbing file Interaction_Center_su_new_features.html from
'Interaction_Center_su
_new_features.html'.
Cabbing file su_dummy_0.txt from 'su_dummy.txt'.
Cabbing file su_dummy_1.txt from 'su_dummy.txt'.
Cabbing file su_dummy_2.txt from 'su_dummy.txt'.
Cabbing file su_dummy_3.txt from 'su_dummy.txt'.
Cabbing file su_dummy_4.txt from 'su_dummy.txt'.
Cabbing file su_dummy_5.txt from 'su_dummy.txt'.


Is it possible to pull the exception handler off of light.exe to
return a meaningful error code. Moving to the most recent 2.0.4820.0
version returns the same exception stack.

Thanks,

Raj

-
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.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade

2007-01-31 Thread Mike Dimmick
The thing that changes feature states is the MigrateFeatureStates action.
See http://msdn2.microsoft.com/en-us/library/aa370034.aspx for documentation
on this.

 

Have you done something odd like reuse an upgrade code from a different
product entirely? I would imagine this would cause MigrateFeatureStates to
get confused.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leila Lali
(Excell Data Corporation)
Sent: 31 January 2007 20:53
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Upgrade

 

Hi,

 

I'm trying to create a Bootstrap exe file from my msi, that can be used as
new version of setup. This exe file could find the old version and upgrade
them, but my problem is,  when it couldn't find any other version of product
and should act as a fresh setup, the feature tree will completely change!
The features should be for complete setup and I set the levels to be like
this. But when I'm running the setup exe and there is not any old version of
product installed, the features will be changed for custom setup
(unselected) 

 

 

Setup.exe runs msi with these commands: REINSTALL=ALL REINSTALLMODE=vomus

 

Does anybody know what my problem is?

 

Thanks

Leila Lali

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix Patching

2007-01-31 Thread Ashish Premaraj

Hi,
    We are having issues with slipstreaming our RTM product with the SP1 MSP patch.  The following error is thrown when the patch is being applied.
” Error 2920:  Source directory not specified for file catalog.51B6FD4C_6551_1104_FF1F_C8B3B9A1E18E”. 
We are creating the patch using MsiMsp.Our MSI consists of multiple component wix files. There were new file entries added to multiple wix files for SP1. I added a @Patchgroup attribute for all the new file entries in the wix files and it still does not work. 
Below is how the media table looks.
 
RTM Media table





DiskId

LastSequence

DiskPrompt

Cabinet

VolumeLabel

Source


1

3307

1

 

 

 


3

3329

3

#ATLplcy.cab

 

 


4

3360

4

#CRTplcy.cab

 

 


5

3396

5

#CRTDplc.cab

 

 


6

0

6

#MFCPlcy.cab

 

 


7

3423

7

#WOW64.cab

 

 


8

14769

8

#OwaHlp.cab

 

 
 
I applied patch through Orca on the MSI and here is how the Media table looked.
RTM+SP1 MSI media table.





DiskId

LastSequence

DiskPrompt

Cabinet

VolumeLabel

Source


1

14834

1

 

 

 


3

3329

3

#ATLplcy.cab

 

 


4

3360

4

#CRTplcy.cab

 

 


5

3396

5

#CRTDplc.cab

 

 


6

0

6

#MFCPlcy.cab

 

 


7

3423

7

#WOW64.cab

 

 


8

14769

8

#OwaHlp.cab

 

 


9

14770

 

#PCW_CAB_Exchange

 

PATCHMediaSrcProp
 
 
I was expecting the lastsequence of the 1st diskid to remain the same ie 3307 and the patch cabinet to have values from 14770 to 14834. And probably because of this applying MSI fails ends up looking for all the files in native DVD itself(DiskId 1). Let me know if my assumption is incorrect.
Note that we have multiple merge modules in the MSI. Won’t patchgroup work if there are multiple mergemodules as part of the MSI?  If it does not, what’s the next best way to generate patches where there are new files added in different components?
 
We use Wixv2 (version  2.0.4019.0)  and Msimsp.exe (version 3.1.4000.1830 ) for generating the MSI and MSP’s.
 
Regards,
ashish
 


 Check out all that glitters with the MSN Entertainment Guide to the Academy Awards®  


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any documentation on WiX/Windows Installer limits?

2007-01-31 Thread Bob Arnson
Alex Lian wrote:
> Well, I'm pretty sure now that light.exe has a 2GB limitation on 
> its own for the MSI file itself (regardless of using cabs < 2GB in
> size).
>   

Light passes most of the .msi construction on to MSI itself, so that's 
likely where any limit lives. Structured storage files can theoretically 
be larger than 2GB but there's no doc whether MSI itself supports it. 
Such large packages probably aren't a common scenario.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SpawnDialog resulting from "Next" button?

2007-01-31 Thread Bob Arnson

Levi Wilson wrote:
I want to display an InfoDlg (just has an info icon and an OK button) 
when the user selects next to warn them about a selection they just 
made.  My InfoDlg returns "Return" as a result of the EndDialog 
event.  What I want to happen is to warn them, and the wizard 
continues to the next page.  This does not happen though, because the 
control is returned to the dialog that spawned it and remains stuck 
there.  Can you simply put up an informational message box like that 
and have it "continue"?  Maybe I am approaching it wrong.


The ControlEvent table doc says:

The exception is that each control can publish a most one NewDialog 
 or one SpawnDialog 
 event. If multiple NewDialog and 
SpawnDialog control events are selected for the same control, only the 
event with the largest value in the Ordering column gets published when 
the control is activated.


One clarification is that the restriction applies only to those control 
events with the same conditions. So you might be able to make it work if 
you change a property in the spawned dialog.


--
sig://boB
http://bobs.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade

2007-01-31 Thread Bob Arnson

Leila Lali (Excell Data Corporation) wrote:


Because I want if there is a old version installed, it upgrade it. 
Otherwise it should install the new version.




That's a major upgrade, especially as you're reorganizing the feature 
tree. See the Upgrade and UpgradeVersion elements and 
http://www.tramontana.co.hu/wix/lesson4.php.


--
sig://boB
http://bobs.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Sequential msi installations

2007-01-31 Thread Bob Arnson
Geoff Finger wrote:
> The program I'm working on needs to have either SQL 2005 or the SQL
> Server Native Client installed. We've decided that if neither of those
> have been installed we should give the user the option of installing
> the Native Client after the basic installation is finished in order to
> simplify things for them.
>   

Won't work -- MSI doesn't let two packages run their execute sequences 
simultaneously. You need to use a chainer/bootstrapper. See the list 
archives for lengthy discussions on this topic.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SqlString works but SqlScript bombs in WiX v3.0?

2007-01-31 Thread Rob Mensching
WiX v3 is not stable right now.  WiX v2 works much better.  When WiX v2 is 
complete (soon, assuming shipping Vista and Office lets up soon) then I'll port 
all those fixes up to WiX v3.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicholas Piasecki
Sent: Wednesday, January 31, 2007 3:18 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] SqlString works but SqlScript bombs in WiX v3.0?

Dear All,

I've playing with WiX for a week now and it's a great toolset, but I've
hit a wall with a particularly strange error.

I'm using WiX 3.0.2526 (last week's build). Here's a snippet from my
.wxs file:



 




The above works great -- the database is created with a "Pants" table
sitting inside it. Unfortunately, I've got about a bajillion such
queries to run, so I thought I'd use SqlScript instead:






For testing purposes, I've put the same exact "CREATE TABLE" line that I
used in SqlString in the file identified by the binary key in SqlScript.
But every time I run the installer, it exits prematurely:

MSI (s) (D8:78) [17:22:55:953]: Doing action: ConfigureSql
Action 17:22:55: ConfigureSql. Configuring SQL Server
Action start 17:22:55: ConfigureSql.
MSI (s) (D8:58) [17:22:55:968]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI14A7.tmp, Entrypoint: ConfigureSql
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14105) of type 790531
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14104) of type 790531
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14103) of type 790540
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14102) of type 790540
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14092) of type 790541
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Note: 1: 2769 2: ConfigureSql 3: 5
DEBUG: Error 2769:  Custom Action ConfigureSql did not close 5 MSIHANDLEs.
The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code
is 2769. The arguments are: ConfigureSql, 5,
Action ended 17:22:56: ConfigureSql. Return value 3.

I saw postings that referred to the encoding of this file; I've tried
ANSI, UTF-8, and UTF-16 (Big and Little Endian), but still no joy.

Any thoughts or ideas? I appreciate it!

V/R,
Nicholas Piasecki

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] SqlString works but SqlScript bombs in WiX v3.0?

2007-01-31 Thread Nicholas Piasecki
Dear All,

I've playing with WiX for a week now and it's a great toolset, but I've 
hit a wall with a particularly strange error.

I'm using WiX 3.0.2526 (last week's build). Here's a snippet from my 
.wxs file:



 




The above works great -- the database is created with a "Pants" table 
sitting inside it. Unfortunately, I've got about a bajillion such 
queries to run, so I thought I'd use SqlScript instead:






For testing purposes, I've put the same exact "CREATE TABLE" line that I 
used in SqlString in the file identified by the binary key in SqlScript. 
But every time I run the installer, it exits prematurely:

MSI (s) (D8:78) [17:22:55:953]: Doing action: ConfigureSql
Action 17:22:55: ConfigureSql. Configuring SQL Server
Action start 17:22:55: ConfigureSql.
MSI (s) (D8:58) [17:22:55:968]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI14A7.tmp, Entrypoint: ConfigureSql
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14105) of type 790531 
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14104) of type 790531 
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14103) of type 790540 
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14102) of type 790540 
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Leaked MSIHANDLE (14092) of type 790541 
for thread 2028
MSI (s) (D8:58) [17:22:55:984]: Note: 1: 2769 2: ConfigureSql 3: 5
DEBUG: Error 2769:  Custom Action ConfigureSql did not close 5 MSIHANDLEs.
The installer has encountered an unexpected error installing this 
package. This may indicate a problem with this package. The error code 
is 2769. The arguments are: ConfigureSql, 5,
Action ended 17:22:56: ConfigureSql. Return value 3.

I saw postings that referred to the encoding of this file; I've tried 
ANSI, UTF-8, and UTF-16 (Big and Little Endian), but still no joy.

Any thoughts or ideas? I appreciate it!

V/R,
Nicholas Piasecki

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade

2007-01-31 Thread Levi Wilson

That's what I am saying the msistuff will do for you.  That's exactly how I
have my setup.  My packaged exe will perform an installation if it doesn't
exist, and it will update the installation if it DOES already exist.

On 1/31/07, Leila Lali (Excell Data Corporation) <[EMAIL PROTECTED]>
wrote:


 Because I want if there is a old version installed, it upgrade it.
Otherwise it should install the new version.



*From:* Levi Wilson [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, January 31, 2007 1:50 PM
*To:* Leila Lali (Excell Data Corporation)
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Upgrade



Why are you running msiexec with the /i parameter, but specifying the
REINSTALL and REINSTALLMODE properties?

On 1/31/07, *Leila Lali (Excell Data Corporation) *<[EMAIL PROTECTED]>
wrote:

Actually  creating bootstrap is not my problem, my problem is when I'm
running msi with ReInstall=All command:



msiexec /i setup.msi REINSTALL=ALL REINSTALLMODE=vomus /log log.txt



the feature tree view is totally different than running msi without these
commands.



*From:* Levi Wilson [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, January 31, 2007 12:57 PM
*To:* Leila Lali (Excell Data Corporation)
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Upgrade



I think that you might want to check out the Bootstrapper example that is
on the WiX sourceforge page 
(http://sourceforge.net/tracker/?group_id=105970&atid=654188
)

After you build that, you should have a setup.exe.  With that, you will be
able to use msistuff to package your MSI in it as well.  I believe what
you're looking for is to use the msistuff with the following command
parameters:

msistuff.exe setup.exe /o INSTALLUPD /d mymsi.msi /b mymsi.msi /v 200 /n
"My Product"

On 1/31/07, *Leila Lali (Excell Data Corporation)* <[EMAIL PROTECTED]>
wrote:

Hi,



I'm trying to create a Bootstrap exe file from my msi, that can be used as
new version of setup. This exe file could find the old version and upgrade
them, but my problem is,  when it couldn't find any other version of product
and should act as a fresh setup, the feature tree will completely change!
The features should be for complete setup and I set the levels to be like
this. But when I'm running the setup exe and there is not any old version of
product installed, the features will be changed for custom setup
(unselected)





*Setup.exe runs msi with these commands: REINSTALL=ALL REINSTALLMODE=vomus
*

* *

Does anybody know what my problem is?



Thanks

Leila Lali


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Again, Odd failure of XmlFile in wix-2.0.4221.0

2007-01-31 Thread Qu, Li
Hello,

 

I'm having exactly the same problem as described in the email titled 
"[Wix-user] Odd failure of XmlFile in wix-2.0.4221.0", but I don't see the 
solution for that problem being posted. I have to post this question again, and 
hope I'll get help from somebody.

 

The installation failed at the ExecXmlFil custom action. In the install log I 
do see a second process (PID 1448) trying to open the database.xml file and 
failed. What I don't understand is why there is a second process? How to 
resolve this problem? This problem happened only on one of our customers' 
machine.  It never occurred on the machines we did test on.

 

The related install log is attached.

 

Thanks,

 

Li

 

MSI (s) (F8:68) [18:11:19:121]: Created Custom Action Server with PID 1292 
(0x50C).

MSI (s) (F8:38) [18:11:19:137]: Running as a service.

MSI (s) (F8:38) [18:11:19:152]: Hello, I'm your 32bit Impersonated custom 
action server.

..

 

MSI (s) (F8:00) [18:11:26:136]: Executing op: ActionStart(Name=ExecXmlFile,,)

Action 18:11:26: ExecXmlFile. 

MSI (s) (F8:00) [18:11:26:136]: Executing op: 
CustomActionSchedule(Action=ExecXmlFile,ActionType=3073,Source=BinaryData,Target=ExecXmlFile,CustomActionData=1€C:\Program
 Files\Avistar\System 
Central\conf\server.xml€2€//Server/Service/Connector€port€80€2€//Server/Service/Connector€redirectPort€443€2€//Server/Service/[EMAIL
 PROTECTED]'https']€port€443€1€C:\Program Files\Avistar\System 
Central\conf\avistar_database.xml€2€//properties/[EMAIL 
PROTECTED]'database.host']€€localhost€2€//properties/[EMAIL 
PROTECTED]'database.port']€€1433€2€//properties/[EMAIL 
PROTECTED]'database.dbname']€€CALLREPORTING€2€//properties/[EMAIL 
PROTECTED]'database.user']€€scops€2€//properties/[EMAIL 
PROTECTED]'database.password']€€avistar1)

MSI (s) (F8:FC) [18:11:26:151]: Invoking remote custom action. DLL: 
C:\WINNT\Installer\MSI9.tmp, Entrypoint: ExecXmlFile

MSI (s) (F8:68) [18:11:26:151]: Generating random cookie.

MSI (s) (F8:68) [18:11:26:151]: Created Custom Action Server with PID 1448 
(0x5A8).

MSI (s) (F8:38) [18:11:26:167]: Running as a service.

MSI (s) (F8:38) [18:11:26:167]: Hello, I'm your 32bit Elevated custom action 
server.

ExecXmlFile:  Error 0x8007006e: failed to load XML file: C:\Program 
Files\Avistar\System Central\conf\avistar_database.xml

Error 25531. Failed to open XML file C:\Program Files\Avistar\System 
Central\conf\avistar_database.xml, system error: -2147024786

MSI (s) (F8!78) [18:11:53:491]: Product: Avistar System Central 8.8 -- Error 
25531. Failed to open XML file C:\Program Files\Avistar\System 
Central\conf\avistar_database.xml, system error: -2147024786

 

 



From: Qu, Li 
Sent: Wednesday, November 29, 2006 9:33 PM
To: 'wix-users@lists.sourceforge.net'
Subject: How to update an url shortcut for upgrade install?

 

Hello,

 

I have the following code to create an URL shortcut on Desktop:

 

http://localhost:[HTTP_PORT]"/>

 

This works well for a new install. But when I do an upgrade install(major 
upgrade), the URL keeps using the old port. For example, the first time install 
8080 was entered as the http port. Perform upgrade install, and enter 6060 as 
the http port. The registry and configuration file are all updated correctly, 
but the shortcut was still "http://localhost:8080  ". 
The following is related section from the install log file. From there I don't 
see how the old port gets used again. 

 

MSI (s) (68:D4) [16:25:05:184]: Executing op: 
ActionStart(Name=WriteIniValues,Description=Writing INI files 
values,Template=File: [1],  Section: [2],  Key: [3], Value: [4])

Action 16:25:05: WriteIniValues. Writing INI files values

MSI (s) (68:D4) [16:25:05:184]: Executing op: 
ProgressTotal(Total=2,Type=1,ByteEquivalent=13200)

MSI (s) (68:D4) [16:25:05:184]: Executing op: 
IniFilePath(File=MyHome.url,Folder=C:\Documents and Settings\All Users\Desktop\)

MSI (s) (68:D4) [16:25:05:184]: Executing op: 
IniWriteRemoveValue(Section=InternetShortcut,Key=URL,Value=http://localhost:6060,Mode=0)

WriteIniValues: File: MyHome.url,  Section: InternetShortcut,  Key: URL, Value: 
http://localhost:6060

MSI (s) (68:D4) [16:25:05:184]: Executing op: 
ActionStart(Name=InstallServices,Description=Installing new 
services,Template=Service: [2])

 

 

I'm really appreciated if somebody can point me out what I'm doing wrong.

 

Thanks.

 

Li 

 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade

2007-01-31 Thread Leila Lali (Excell Data Corporation)
Because I want if there is a old version installed, it upgrade it. Otherwise it 
should install the new version.

From: Levi Wilson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 31, 2007 1:50 PM
To: Leila Lali (Excell Data Corporation)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Upgrade

Why are you running msiexec with the /i parameter, but specifying the REINSTALL 
and REINSTALLMODE properties?
On 1/31/07, Leila Lali (Excell Data Corporation) <[EMAIL 
PROTECTED]> wrote:

Actually  creating bootstrap is not my problem, my problem is when I'm running 
msi with ReInstall=All command:



msiexec /i setup.msi REINSTALL=ALL REINSTALLMODE=vomus /log log.txt



the feature tree view is totally different than running msi without these 
commands.



From: Levi Wilson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2007 12:57 PM
To: Leila Lali (Excell Data Corporation)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Upgrade



I think that you might want to check out the Bootstrapper example that is on 
the WiX sourceforge page 
(http://sourceforge.net/tracker/?group_id=105970&atid=654188 )

After you build that, you should have a setup.exe.  With that, you will be able 
to use msistuff to package your MSI in it as well.  I believe what you're 
looking for is to use the msistuff with the following command parameters:

msistuff.exe setup.exe /o INSTALLUPD /d mymsi.msi /b mymsi.msi /v 200 /n "My 
Product"

On 1/31/07, Leila Lali (Excell Data Corporation) <[EMAIL 
PROTECTED]> wrote:

Hi,



I'm trying to create a Bootstrap exe file from my msi, that can be used as new 
version of setup. This exe file could find the old version and upgrade them, 
but my problem is,  when it couldn't find any other version of product and 
should act as a fresh setup, the feature tree will completely change! The 
features should be for complete setup and I set the levels to be like this. But 
when I'm running the setup exe and there is not any old version of product 
installed, the features will be changed for custom setup (unselected)





Setup.exe runs msi with these commands: REINSTALL=ALL REINSTALLMODE=vomus



Does anybody know what my problem is?



Thanks

Leila Lali

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] SpawnDialog resulting from "Next" button?

2007-01-31 Thread Levi Wilson

I want to display an InfoDlg (just has an info icon and an OK button) when
the user selects next to warn them about a selection they just made.  My
InfoDlg returns "Return" as a result of the EndDialog event.  What I want to
happen is to warn them, and the wizard continues to the next page.  This
does not happen though, because the control is returned to the dialog that
spawned it and remains stuck there.  Can you simply put up an informational
message box like that and have it "continue"?  Maybe I am approaching it
wrong.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Sequential msi installations

2007-01-31 Thread Geoff Finger
The program I'm working on needs to have either SQL 2005 or the SQL
Server Native Client installed. We've decided that if neither of those
have been installed we should give the user the option of installing
the Native Client after the basic installation is finished in order to
simplify things for them.

I've looked through the archives and am aware that concurrent
installation has been deprecated, so I've been trying to make it so
the SQL installation only happens after my installation has finished.

I put together the following code fragments just to test before I
worried about the UI or detecting an existing installation:




...
  NOT
Installed




However that results in the following error:

Action 11:59:58: RunSQLNativeClientMsi.
Action start 11:59:58: RunSQLNativeClientMsi.
MSI (s) (B0:A4) [11:59:59:228]: Note: 1: 1721 2: RunSQLNativeClientMsi
3: C:\WINDOWS\Installer\MSI9C0.tmp 4:
Error 1721. There is a problem with this Windows Installer package. A
program required for this install to complete could not be run.
Contact your support personnel or package vendor. Action:
RunSQLNativeClientMsi, location: C:\WINDOWS\Installer\MSI9C0.tmp,
command:
MSI (s) (B0:A4) [12:17:46:746]: Product: Server -- Error 1721. There
is a problem with this Windows Installer package. A program required
for this install to complete could not be run. Contact your support
personnel or package vendor. Action: RunSQLNativeClientMsi, location:
C:\WINDOWS\Installer\MSI9C0.tmp, command:
Action ended 12:17:46: RunSQLNativeClientMsi. Return value 3.
Action ended 12:17:46: INSTALL. Return value 3.

Am I doing something wrong, or it it just not possible to run msi
files with a Type 2 custom action? On the plus side the failure
doesn't cause a rollback which seems to indicate that I've at least
got the timing right.

If it's not possible this way then is there some other manner in which
I can trigger the second msi to run after the first one finishes?

Thanks!

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade

2007-01-31 Thread Levi Wilson

Why are you running msiexec with the /i parameter, but specifying the
REINSTALL and REINSTALLMODE properties?

On 1/31/07, Leila Lali (Excell Data Corporation) <[EMAIL PROTECTED]>
wrote:


 Actually  creating bootstrap is not my problem, my problem is when I'm
running msi with ReInstall=All command:



msiexec /i setup.msi REINSTALL=ALL REINSTALLMODE=vomus /log log.txt



the feature tree view is totally different than running msi without these
commands.



*From:* Levi Wilson [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, January 31, 2007 12:57 PM
*To:* Leila Lali (Excell Data Corporation)
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Upgrade



I think that you might want to check out the Bootstrapper example that is
on the WiX sourceforge page 
(http://sourceforge.net/tracker/?group_id=105970&atid=654188
)

After you build that, you should have a setup.exe.  With that, you will be
able to use msistuff to package your MSI in it as well.  I believe what
you're looking for is to use the msistuff with the following command
parameters:

msistuff.exe setup.exe /o INSTALLUPD /d mymsi.msi /b mymsi.msi /v 200 /n
"My Product"

On 1/31/07, *Leila Lali (Excell Data Corporation)* <[EMAIL PROTECTED]>
wrote:

Hi,



I'm trying to create a Bootstrap exe file from my msi, that can be used as
new version of setup. This exe file could find the old version and upgrade
them, but my problem is,  when it couldn't find any other version of product
and should act as a fresh setup, the feature tree will completely change!
The features should be for complete setup and I set the levels to be like
this. But when I'm running the setup exe and there is not any old version of
product installed, the features will be changed for custom setup
(unselected)





*Setup.exe runs msi with these commands: REINSTALL=ALL REINSTALLMODE=vomus
*

* *

Does anybody know what my problem is?



Thanks

Leila Lali


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade

2007-01-31 Thread Leila Lali (Excell Data Corporation)
Actually  creating bootstrap is not my problem, my problem is when I'm running 
msi with ReInstall=All command:

msiexec /i setup.msi REINSTALL=ALL REINSTALLMODE=vomus /log log.txt

the feature tree view is totally different than running msi without these 
commands.

From: Levi Wilson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 31, 2007 12:57 PM
To: Leila Lali (Excell Data Corporation)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Upgrade

I think that you might want to check out the Bootstrapper example that is on 
the WiX sourceforge page 
(http://sourceforge.net/tracker/?group_id=105970&atid=654188 )

After you build that, you should have a setup.exe.  With that, you will be able 
to use msistuff to package your MSI in it as well.  I believe what you're 
looking for is to use the msistuff with the following command parameters:

msistuff.exe setup.exe /o INSTALLUPD /d mymsi.msi /b mymsi.msi /v 200 /n "My 
Product"
On 1/31/07, Leila Lali (Excell Data Corporation) <[EMAIL 
PROTECTED]> wrote:

Hi,



I'm trying to create a Bootstrap exe file from my msi, that can be used as new 
version of setup. This exe file could find the old version and upgrade them, 
but my problem is,  when it couldn't find any other version of product and 
should act as a fresh setup, the feature tree will completely change! The 
features should be for complete setup and I set the levels to be like this. But 
when I'm running the setup exe and there is not any old version of product 
installed, the features will be changed for custom setup (unselected)





Setup.exe runs msi with these commands: REINSTALL=ALL REINSTALLMODE=vomus



Does anybody know what my problem is?



Thanks

Leila Lali

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade

2007-01-31 Thread Levi Wilson

I think that you might want to check out the Bootstrapper example that is on
the WiX sourceforge page (
http://sourceforge.net/tracker/?group_id=105970&atid=654188)

After you build that, you should have a setup.exe.  With that, you will be
able to use msistuff to package your MSI in it as well.  I believe what
you're looking for is to use the msistuff with the following command
parameters:

msistuff.exe setup.exe /o INSTALLUPD /d mymsi.msi /b mymsi.msi /v 200 /n "My
Product"

On 1/31/07, Leila Lali (Excell Data Corporation) <[EMAIL PROTECTED]>
wrote:


 Hi,



I'm trying to create a Bootstrap exe file from my msi, that can be used as
new version of setup. This exe file could find the old version and upgrade
them, but my problem is,  when it couldn't find any other version of product
and should act as a fresh setup, the feature tree will completely change!
The features should be for complete setup and I set the levels to be like
this. But when I'm running the setup exe and there is not any old version of
product installed, the features will be changed for custom setup
(unselected)





*Setup.exe runs msi with these commands: REINSTALL=ALL REINSTALLMODE=vomus
*

* *

Does anybody know what my problem is?



Thanks

Leila Lali

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Upgrade

2007-01-31 Thread Leila Lali (Excell Data Corporation)
Hi,

I'm trying to create a Bootstrap exe file from my msi, that can be used as new 
version of setup. This exe file could find the old version and upgrade them, 
but my problem is,  when it couldn't find any other version of product and 
should act as a fresh setup, the feature tree will completely change! The 
features should be for complete setup and I set the levels to be like this. But 
when I'm running the setup exe and there is not any old version of product 
installed, the features will be changed for custom setup (unselected)


Setup.exe runs msi with these commands: REINSTALL=ALL REINSTALLMODE=vomus

Does anybody know what my problem is?

Thanks
Leila Lali
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Checking for MergeModule's Existence

2007-01-31 Thread Wilson, Phil
As a general comment you seem to be missing the fact that once a merge
module has been merged into an MSI file it's just a set of components,
and you have to treat it that way. A MM is just a handy way to keep a
bunch of common components around in a package, so, some inline comments
to be specific:  
 
Phil Wilson 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Levi
Wilson
Sent: Wednesday, January 31, 2007 9:00 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Checking for MergeModule's Existence


I have a merge module that installs some COM components.  I have a CA
that needs to use one of these COM objects, so I added it to the
InstallExecute sequence after RegisterProduct.

[Wilson, Phil] There is no "so" here. RegisterProduct is not significant
as a marker for whether COM components have been registered yet or
become not registered.
 
   I ONLY need this to run when the merge module is FIRST installed.
However, when I uninstall the product, the CA executes and fails because
the COM object doesn't exist anymore.  
 
[Wilson, Phil]  Merge modules aren't really "installed", as mentioned
above. It seems to me that all you need is a condition on your CA of Not
Installed so it is called only when the MSI product is first installed,
and you don't need a component search. 
 
 I have a  for my Merge Module to check the existence
of its own GUID.  Even on a Fresh install, this gets set to the path for
some reason?!?  
 
[Wilson, Phil] The most likely reason is that it's there. If it really
is in a merge module that's installed by another product then could it
be there already? It's not about that guid from your install being
installed on the system, it's whether that component guid is on the
system, period. 
 
 My custom custom action is conditioned on the ComponentSearch, so I
have a "NOT MYCOMPONENT_INSTALLED" so it only does it the first time.
This does not work.  How can I get my CA to only execute when the merge
module is first added??? 
[Wilson, Phil] If by "added" you mean "installed as part of the MSI
install" then you just need a condition like not Installed, or one
conditioned on the component action. 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Checking for MergeModule's Existence

2007-01-31 Thread Levi Wilson

I'm an idiot.  I wasn't using the Guid of a COMPONENT in the merge
module...I was using the Package/@Guid.  My apologies.

On 1/31/07, Levi Wilson <[EMAIL PROTECTED]> wrote:


I have a merge module that installs some COM components.  I have a CA that
needs to use one of these COM objects, so I added it to the InstallExecute
sequence after RegisterProduct.  I ONLY need this to run when the merge
module is FIRST installed.  However, when I uninstall the product, the CA
executes and fails because the COM object doesn't exist anymore.  I have a
 for my Merge Module to check the existence of its own
GUID.  Even on a Fresh install, this gets set to the path for some
reason?!?  My custom custom action is conditioned on the ComponentSearch, so
I have a "NOT MYCOMPONENT_INSTALLED" so it only does it the first time.
This does not work.  How can I get my CA to only execute when the merge
module is first added???

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding records to MSI on the fly

2007-01-31 Thread Rob MacFadyen
carlldev

I use a subroutine to do the actual insert:


Sub AddToComboBox(ByVal ComboProp, ByVal ComboOrder, ByVal ComboValue, ByVal
ComboText)
Dim query
Dim view

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

'
' Creates the view object based on our query
'
set view = Session.Database.OpenView(query)

'
' Invoke the query to add the combo value
'
view.Execute
End Sub


and invoke it like so:

function InitializeWebserverCombo()
Dim ThisServer
Dim Website
dim i
dim s

Set ThisServer = GetObject("IIS://localhost/W3SVC")

i = 1
For Each Website In ThisServer
If Website.Class = "IIsWebServer" Then
call AddToComboBox("WEBSITE", i, Website.Name,
Website.ServerComment)
i = i + 1
End If
Next
End Function


Regards

Rob
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of carlldev
Sent: Wednesday, January 31, 2007 1:12 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding records to MSI on the fly


(Wix3, WIN2K3)

Sorry if this is posting a duplicate, but I can't get the solutions from any
of the posts to work...
I'm trying to add the details of installed Websites to a combobox on the
fly. I can see the custom action being executed, but the records are not
being added to the table. I know this because the combobox still only has
the one value ("_DEF_").
The vbscript works too, I have tested it with msgbox's and they return the
correct values.

Can anyone help? Thanks in advance...



=
The Custom action, property and binary entries in product.wxs
=
  

=
The dialog with the combobox
=





















1




=
SCRIPT.VBS
=
Const ERROR_SUCCESS = 0
Const ERROR_INSTALL_FAILURE = 1603

Const msiViewModifyInsert = 1
Const msiViewModifyInsertTemporary = 7
Const IDOK = 1

Function GetWebSites()
Dim objIIS, oView, oSite, oServer, oReccombo
Dim r

On Error Resume Next
Set objIIS = GetObject("IIS://localhost/W3SVC")


If Err.Number <> 0 Then
MsgBox "Unable to open IIS W3SVC Root object - please ensure that
IIS is running" & vbCrLf & _
 "- Error Details: " & Err.Description & " [Number:" &
Hex(Err.Number) & "]", vbCritical, "Error"
GetWebSites = ERROR_INSTALL_FAILURE
Exit Function
Else
' OPEN AND EXECUTE A VIEW TO THE LISTBOX TABLE
Set oView = Session.Database.OpenView("SELECT * FROM 'ComboBox'")
oView.Execute
r = 1
' ITERATE THROUGH THE SITES
For Each oSite in objIIS
If oSite.Class = "IIsWebServer" Then
r = r + 1
'get the properties
description = oSite.ServerComment
For Each item in oSite.ServerBindings
strServerBinding = item
BindingArray = Split(strServerBinding, ":", -1, 1)
ipaddress = BindingArray(0)
port = BindingArray(1)
' only do it for the first item (don't know how to get
it without "for")
Exit For
Next
path = oSite.ADsPath
props = description & ";" + path & ";" & port & ";" & ip
'msgbox props
' make the first site the default
if r = 1 Then
Session.Property("TARGETWEBCOMBO") = description
End if

'
'   ComboBox record fields are Property, Order, Value, Text
'
Set oReccombo = Installer.CreateRecord(4)
oReccombo.StringData(1)  = "TARGETWEBCOMBO"
oReccombo.IntegerData(2) = r
oReccombo.StringData(3)  = props
oReccombo.S

[WiX-users] Adding records to MSI on the fly

2007-01-31 Thread carlldev

(Wix3, WIN2K3)

Sorry if this is posting a duplicate, but I can't get the solutions from any
of the posts to work...
I'm trying to add the details of installed Websites to a combobox on the
fly. I can see the custom action being executed, but the records are not
being added to the table. I know this because the combobox still only has
the one value ("_DEF_").
The vbscript works too, I have tested it with msgbox's and they return the
correct values.

Can anyone help? Thanks in advance...



=
The Custom action, property and binary entries in product.wxs
=




=
The dialog with the combobox
=





















1




=
SCRIPT.VBS
=
Const ERROR_SUCCESS = 0
Const ERROR_INSTALL_FAILURE = 1603

Const msiViewModifyInsert = 1
Const msiViewModifyInsertTemporary = 7
Const IDOK = 1

Function GetWebSites()
Dim objIIS, oView, oSite, oServer, oReccombo
Dim r

On Error Resume Next
Set objIIS = GetObject("IIS://localhost/W3SVC")


If Err.Number <> 0 Then
MsgBox "Unable to open IIS W3SVC Root object - please ensure that
IIS is running" & vbCrLf & _
 "- Error Details: " & Err.Description & " [Number:" &
Hex(Err.Number) & "]", vbCritical, "Error"
GetWebSites = ERROR_INSTALL_FAILURE
Exit Function
Else
' OPEN AND EXECUTE A VIEW TO THE LISTBOX TABLE
Set oView = Session.Database.OpenView("SELECT * FROM 'ComboBox'")
oView.Execute
r = 1
' ITERATE THROUGH THE SITES
For Each oSite in objIIS
If oSite.Class = "IIsWebServer" Then
r = r + 1
'get the properties
description = oSite.ServerComment
For Each item in oSite.ServerBindings
strServerBinding = item
BindingArray = Split(strServerBinding, ":", -1, 1)
ipaddress = BindingArray(0)
port = BindingArray(1)
' only do it for the first item (don't know how to get
it without "for")
Exit For
Next
path = oSite.ADsPath
props = description & ";" + path & ";" & port & ";" & ip
'msgbox props
' make the first site the default
if r = 1 Then
Session.Property("TARGETWEBCOMBO") = description
End if

'
'   ComboBox record fields are Property, Order, Value, Text
'
Set oReccombo = Installer.CreateRecord(4)
oReccombo.StringData(1)  = "TARGETWEBCOMBO"
oReccombo.IntegerData(2) = r
oReccombo.StringData(3)  = props
oReccombo.StringData(4)  = description
oView.Modify msiViewModifyInsertTemporary, oReccombo
Database.Commit
End If
Next
oView.Close

'return success to MSI
GetWebSites = ERROR_SUCCESS
End If
'clean up
Set objIIS = Nothing
Set oView = Nothing
End Function
-- 
View this message in context: 
http://www.nabble.com/Adding-records-to-MSI-on-the-fly-tf3150241.html#a8734173
Sent from the wix-users mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any documentation on WiX/Windows Installer limits?

2007-01-31 Thread Alex Lian

Well, I'm pretty sure now that light.exe has a 2GB limitation on 
its own for the MSI file itself (regardless of using cabs < 2GB in
size).

I verified by a couple facts:

- Inspection of the temp folder showed multiple cabs, each < 2GB.
- After resulting error, .msi file is slightly under 0x8000
(2147483648) in size.
- Filemon showed writing to the msi file up to slightly under the same
point at which
  point it didn't even try to write to the msi, whereas it kept reading
  cab files long after.
- The error 

So, the long and short is that .msi files with the v2 wix tools seem
limited to 2GB.
Once I get a dev env setup at home, I'll start poking at it.


-
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.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Checking for MergeModule's Existence

2007-01-31 Thread Levi Wilson

I have a merge module that installs some COM components.  I have a CA that
needs to use one of these COM objects, so I added it to the InstallExecute
sequence after RegisterProduct.  I ONLY need this to run when the merge
module is FIRST installed.  However, when I uninstall the product, the CA
executes and fails because the COM object doesn't exist anymore.  I have a
 for my Merge Module to check the existence of its own
GUID.  Even on a Fresh install, this gets set to the path for some
reason?!?  My custom custom action is conditioned on the ComponentSearch, so
I have a "NOT MYCOMPONENT_INSTALLED" so it only does it the first time.
This does not work.  How can I get my CA to only execute when the merge
module is first added???
-
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.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Assigning Permissions to a particular group while installation

2007-01-31 Thread Pallavi Patrutkar
Hello All,

 

I want to give write permission to all the users under 'users' group or
any particular group, when I install my application with admin login.

 

I used Permission element under createfolder element, but it crashed
while installation. I do not want to add a new component for this. So, I
added CreateFolder element under already existing component.

 

My code is as follows - 

 



  







  



  



 



  

  



 

Can I get where I am getting wrong or any other way to do this?

 

Regards,

Pallavi.

-
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.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Modularized Properties

2007-01-31 Thread Levi Wilson

Is there a way to use a property from a merge module that will get set
outside of the merge module?  I have a UI sequence that has a public
MY_PUBPROP property.  Inside my merge module, I have a custom action that I
would like to condition on this property.  However, when I open up my MSI in
Orca, I see that in my InstallExecuteSequence, the Condition column for that
CA references the modularized version of MY_PUBPROP (i.e. MY_PUBPROP.[Module
GUID]).  Is there any way to prevent this?

My merge module has a NOT
MY_PUBPROP (the CA is deferred btw).  Thanks for any information
you can provide me...even if it's to tell me that my install is poorly
arranged :-)
-
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.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any documentation on WiX/Windows Installer limits?

2007-01-31 Thread Alex Lian

On Tue, 30 Jan 2007 20:48:58 -0800, "Bob Arnson" <[EMAIL PROTECTED]> said:
> 
> Have you tried using external cabs? My day job is working with a 
> multi-gigabyte package but the .msi itself is only ~70MB.
> 

Well, the hope was to get a single file install .msi, but I can see if
that makes a difference.

> 
> That's a sign another process is using the directory.
> 

Hmm...I thought I filemon'ed and checked who else tried to access the
directory/files.
I guess I'll try filemon'ing again.

-
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.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Crash in dark

2007-01-31 Thread Rob MacFadyen
Andre,

To deal with dark crashes what I've done in the past is some creative
"editing" using Orcas. Usually this means removing any offending entries and
or tables that dark is having trouble with. From the error message it looks
like dark doesn't like the value in a column named "KeyColumn". Searching
the MSI docs for "KeyColumn" shows that this field only appears in the
_Validation table. What I recommend is deleting all the rows from the
_Validation table (or any where KeyColumn <= 0).

Regards,

Rob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of André Pönitz
Sent: Wednesday, January 31, 2007 6:57 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Crash in dark


I get an unexpect result when running dark (Version 3.0.2211.0) on one of
our old .msi files created by InstallShield.

  > dark -nologo -x data ../"GeoDAta eXchange.msi" geodax.wxs
  GeoDAta eXchange.msi
  dark.exe : error DARK0001 : Cannot set column 'KeyColumn' with value 0
because
  it is less than   the minimum allowed value for this column, 1.

  Exception Type: System.InvalidOperationException

  Stack Trace:
 bei
Microsoft.Tools.WindowsInstallerXml.ColumnDefinition.ValidateValue(Object
value)
 bei Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databaseFile,   Database database, OutputType outputType, String
exportBasePath)
 bei Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databaseFile,   OutputType outputType, String exportBasePath)
 bei Microsoft.Tools.WindowsInstallerXml.Unbinder.Unbind(String file,
OutputType outputType, String exportBasePath)
 bei Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args)


When I run all ICEs on the .msi in Orca, I get about 50 warnings but no hard
error.

What could I do to get a skeleton .wxs for the .msi nevertheless?

Andre'

-
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.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
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.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with CDATA and default values inConditionstatements

2007-01-31 Thread Albert van Peppen
Hi,

I think this more a MSXML problem than it is a WiX problem ;) But I
don't know.

Regards,

Albert van Peppen 

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Geoff Finger
Verzonden: dinsdag 30 januari 2007 23:15
Aan: wix-users@lists.sourceforge.net
Onderwerp: Re: [WiX-users] Problem with CDATA and default values
inConditionstatements

Swapping in "<>" fixed both issues! Thank you!

Why is it necessary to use that in some cases though when in other spots
I used "<>" without any problem? Shouldn't using the CDATA wrapper have
prevented it from being an issue?

On 1/30/07, Albert van Peppen <[EMAIL PROTECTED]> wrote:
> Did you try using <> instead of <> in your condition?
>
> Like:
> FOOVAR <> ""
>
> Iso:
> FOOVAR <> ""
>
> Regards,
>
> Albert van Peppen
>


-
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.php&p=sourceforge&CID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
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.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Crash in dark

2007-01-31 Thread André Pönitz

I get an unexpect result when running dark (Version 3.0.2211.0) on one
of our old .msi files created by InstallShield.

  > dark -nologo -x data ../"GeoDAta eXchange.msi" geodax.wxs
  GeoDAta eXchange.msi
  dark.exe : error DARK0001 : Cannot set column 'KeyColumn' with value 0 because
  it is less than   the minimum allowed value for this column, 1.

  Exception Type: System.InvalidOperationException

  Stack Trace:
 bei 
Microsoft.Tools.WindowsInstallerXml.ColumnDefinition.ValidateValue(Object value)
 bei Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String 
databaseFile,   Database database, OutputType outputType, String exportBasePath)
 bei Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String 
databaseFile,   OutputType outputType, String exportBasePath)
 bei Microsoft.Tools.WindowsInstallerXml.Unbinder.Unbind(String file, 
OutputType outputType, String exportBasePath)
 bei Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args)


When I run all ICEs on the .msi in Orca, I get about 50 warnings but no
hard error.

What could I do to get a skeleton .wxs for the .msi nevertheless?

Andre'

-
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.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any documentation on WiX/Windows Installer limits?

2007-01-31 Thread Albert van Peppen
Hi,

I guess that will work.

I still believe the ~2GB limit is the problem here.

I cannot find the max filesize for System.IO.File but I recon its 64bit
(unsigned)? If it is 32bit (signed), then the ~2GB Limit is the
problem...

Usualy in VC++.NET 2005 you use Cfile, which is adapted to use ULONLONG
which is 64bit (unsigned).

But since I'm not a C# guru I place this question for another guru ;)

Another problem might be that you're temp files are on a FAT 32, or
worse a FAT 16, partition?


Regards,

Albert van Peppen

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Bob Arnson
Verzonden: woensdag 31 januari 2007 5:49
Aan: Alex Lian
CC: wix-users@lists.sourceforge.net
Onderwerp: Re: [WiX-users] Any documentation on WiX/Windows Installer
limits?

Alex Lian wrote:
> But that still doesn't address the problem I consistently see when I 
> increase the overall MSI size (with multiple cabs of < 2GB size) seems

> to be > 2GB...
>   

Have you tried using external cabs? My day job is working with a
multi-gigabyte package but the .msi itself is only ~70MB.

> light.exe : warning LGHT1011 : Access denied; cannot delete 
> '\Temp\gblw976s'.
>   

That's a sign another process is using the directory.

--
sig://boB
http://bobs.org




-
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.php&p=sourceforge&CID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
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.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users