Re: [WiX-users] Patching fails with 1627

2008-08-19 Thread Bob Arnson
Shawn Dwyer wrote:
> So for anyone else running into this issue, apparently one of the causes
> could be too many characters in the Id field of the TargetImage element,
> which has a max length of 13 characters.  The same for the UpgradeImage
> element.
>   

Can you file a bug? It sounds like something the compiler or linker 
should enforce.

> For future reference is there a good way to debug PatchWiz errors?  Or at
> least a list of the error codes and what the mean?
>   

Most of them are in the SDK doc but some are expressed only via their 
#define macro names, so you end up needing to do math. (Yes, it's 
annoying as hell.)

-- 
sig://boB
http://joyofsetup.com/



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


Re: [WiX-users] Patching fails with 1627

2008-08-19 Thread Tony Juricic
Good to know! Hopefully WiX compiler can catch these errors in the
future.

What you described looked very similar to my past experience but,
checking the old forum posts I see that it caused a different error:
1328.

Basically I had a case like:

RTM.msi   Update1.msi  Update2.msi ... etc.

My first patch targeted RTM.msi with update Update1.msi
My second patch targeted Update1.msi with update Update2.msi. Note that
I haven't targeted RTM.msi in the second patch.

In this way I was producing patches that had only a preceding build as
the target and patching worked until the third patch application. 

Why would one patch in this way? Well, patches between two consecutive
update builds are noticeably smaller that the patches that target also
the base RTM build.

Not finding any good explanation of this error I eventually gave up on
this approach and now I always target RTM.
 
-Original Message-
From: Shawn Dwyer [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2008 11:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching fails with 1627

Thanks for the feedback and the helpful links.  I've read all of Heath's
blogs a few times, as well as all the other blogs and any Wix or MSI
documentation I could find.  I hadn't come across the white paper yet
though
so I'll be reading through that soon.  Thanks for the link.

Unfortunately as Tony mentions the information, if even out there, is
scattered and seemingly incomplete.  Most examples show you how to make
a
simple first patch that updates one file, but there don't seem to be any
examples of more complex patching (with custom actions for example) or
examples of creating subsequent patches and the different ways of doing
it.

Tony - In essence I was doing what you suggested.  I had full installers
that I was targeting for each patch:

RTM - Patch1 TargetImage
RTMPostBuild1 (removed launch condition) - Patch1 UpgradeImage and
Patch2
TargetImage
RTMPostBuild2 (updated file1 and adds directory2/file2) - Patch2
UpgradeImage and Patch3 TargetImage
RTMPostBuild3 (updated file1 and adds directory3/file3) - Patch3
UpgradeImage

After getting your feedback I decided to go back and just have each of
the
patches target the RTM just for fun.  Patch2 built as expected but
Patch3
still didn't build!  Comparing Patch2.wxs and Patch3.wxs I changed one
property at at time, until the only thing left that was different was
the
PatchCreation Id and the Id of the TargetImage element.  I reread the
MsiIntel.SDK\Patching\Readme.doc and sure enough this field is limited
to 13
characters, and I had 15.  I picked a shorter name and everything builds
and
installs/uninstalls now as expected.

So for anyone else running into this issue, apparently one of the causes
could be too many characters in the Id field of the TargetImage element,
which has a max length of 13 characters.  The same for the UpgradeImage
element.

For future reference is there a good way to debug PatchWiz errors?  Or
at
least a list of the error codes and what the mean?

Thanks again,

Shawn


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


Re: [WiX-users] Patching fails with 1627

2008-08-18 Thread Shawn Dwyer
Thanks for the feedback and the helpful links.  I've read all of Heath's
blogs a few times, as well as all the other blogs and any Wix or MSI
documentation I could find.  I hadn't come across the white paper yet though
so I'll be reading through that soon.  Thanks for the link.

Unfortunately as Tony mentions the information, if even out there, is
scattered and seemingly incomplete.  Most examples show you how to make a
simple first patch that updates one file, but there don't seem to be any
examples of more complex patching (with custom actions for example) or
examples of creating subsequent patches and the different ways of doing it.

Tony - In essence I was doing what you suggested.  I had full installers
that I was targeting for each patch:

RTM - Patch1 TargetImage
RTMPostBuild1 (removed launch condition) - Patch1 UpgradeImage and Patch2
TargetImage
RTMPostBuild2 (updated file1 and adds directory2/file2) - Patch2
UpgradeImage and Patch3 TargetImage
RTMPostBuild3 (updated file1 and adds directory3/file3) - Patch3
UpgradeImage

After getting your feedback I decided to go back and just have each of the
patches target the RTM just for fun.  Patch2 built as expected but Patch3
still didn't build!  Comparing Patch2.wxs and Patch3.wxs I changed one
property at at time, until the only thing left that was different was the
PatchCreation Id and the Id of the TargetImage element.  I reread the
MsiIntel.SDK\Patching\Readme.doc and sure enough this field is limited to 13
characters, and I had 15.  I picked a shorter name and everything builds and
installs/uninstalls now as expected.

So for anyone else running into this issue, apparently one of the causes
could be too many characters in the Id field of the TargetImage element,
which has a max length of 13 characters.  The same for the UpgradeImage
element.

For future reference is there a good way to debug PatchWiz errors?  Or at
least a list of the error codes and what the mean?

Thanks again,

Shawn

On Mon, Aug 18, 2008 at 10:22 PM, John Nannenga <[EMAIL PROTECTED]
> wrote:

> If folks are looking for some good information regarding patching, you
> might try the following:
>
> The Windows Installer 3.0 Patching white paper (an excellent resource):
>
> http://www.microsoft.com/downloads/details.aspx?FamilyID=ad7ac91e-2493-4549-ae6f-bf5e007c12a3&DisplayLang=en
>
> Heath Stewart's blog, perhaps starting here:
>http://blogs.msdn.com/heaths/archive/2005/09/12/464047.aspx
>(but he has lots more advice therein regarding patches) Example:
> http://blogs.msdn.com/heaths/archive/2006/06/14/cumulative-service-packs-with-minorupdatetargetrtm.aspx
>
>
>
> 
> From: [EMAIL PROTECTED] [
> [EMAIL PROTECTED] On Behalf Of Tony Juricic
> [EMAIL PROTECTED]
> Sent: Monday, August 18, 2008 8:19 PM
>  To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Patching fails with 1627
>
> Don't patch the patch!
>
> Always target:
> a) only RTM
> b) RTM + another (non-patched) full install built after RTM
> c) same as b plus you can add all full install MSI targets built after
> RTM and preceding your patch build)
>
> I don't know why 'they' (i.e. secretive installer people who reveal
> pieces of a puzzle slowly and unwillingly, in a blog post or two, now
> and then, maybe never...) have never explained it well enough for
> everybody to understand, but the above works.
>
>
> -Original Message-----
> From: Shawn Dwyer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 14, 2008 1:52 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Patching fails with 1627
>
> Hi,
>
> I'm running into what seems to be a common error on the mailing list,
> but
> none of the solutions so far have worked for me.
>
> I have 3 basic test patches:
> RTM: installs file1
> Patch1: targets rtm, updates launch condition of RTM
> Patch2: targets Patch1, updates file1 and installs directory2\file2
> Patch3: targets Patch 2, updates file1 and installs directory3\file3
> (doesn't touch file2)
>
> Using Wix 2.0.5325.0 and MsiMsp 4.0 I am able to successfully create
> Patch1.msp and Patch2.msp, but running MisMsp on Patch3.pcp gives the
> error:
>
>  INFO: Phase V: Entering Generate MSP.
>  INFO:Generating Patch Metadata.
>  ERROR: Internal PatchWiz Error occurred.
>  ERROR:  The Last Error Received is: 1627
>  ERROR:  The Last Error Received is: 1: 2213 2:
>
> I've ensured the MediaDiskId field is not blank (RTM Media Id=1, Patch1
> Family DiskId=10, Patch2 Family DiskId=20, Patch3 Family DiskId=30) (all
> patches are in the same family)
> I've ensured the SequenceStart does not overlap (P1=1000, P2=2000,
>

Re: [WiX-users] Patching fails with 1627

2008-08-18 Thread John Nannenga
If folks are looking for some good information regarding patching, you might 
try the following:

The Windows Installer 3.0 Patching white paper (an excellent resource):
 
http://www.microsoft.com/downloads/details.aspx?FamilyID=ad7ac91e-2493-4549-ae6f-bf5e007c12a3&DisplayLang=en

Heath Stewart's blog, perhaps starting here:
http://blogs.msdn.com/heaths/archive/2005/09/12/464047.aspx
(but he has lots more advice therein regarding patches) Example:  
http://blogs.msdn.com/heaths/archive/2006/06/14/cumulative-service-packs-with-minorupdatetargetrtm.aspx




From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Tony Juricic [EMAIL 
PROTECTED]
Sent: Monday, August 18, 2008 8:19 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching fails with 1627

Don't patch the patch!

Always target:
a) only RTM
b) RTM + another (non-patched) full install built after RTM
c) same as b plus you can add all full install MSI targets built after
RTM and preceding your patch build)

I don't know why 'they' (i.e. secretive installer people who reveal
pieces of a puzzle slowly and unwillingly, in a blog post or two, now
and then, maybe never...) have never explained it well enough for
everybody to understand, but the above works.


-Original Message-
From: Shawn Dwyer [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2008 1:52 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching fails with 1627

Hi,

I'm running into what seems to be a common error on the mailing list,
but
none of the solutions so far have worked for me.

I have 3 basic test patches:
RTM: installs file1
Patch1: targets rtm, updates launch condition of RTM
Patch2: targets Patch1, updates file1 and installs directory2\file2
Patch3: targets Patch 2, updates file1 and installs directory3\file3
(doesn't touch file2)

Using Wix 2.0.5325.0 and MsiMsp 4.0 I am able to successfully create
Patch1.msp and Patch2.msp, but running MisMsp on Patch3.pcp gives the
error:

  INFO: Phase V: Entering Generate MSP.
  INFO:Generating Patch Metadata.
  ERROR: Internal PatchWiz Error occurred.
  ERROR:  The Last Error Received is: 1627
  ERROR:  The Last Error Received is: 1: 2213 2:

I've ensured the MediaDiskId field is not blank (RTM Media Id=1, Patch1
Family DiskId=10, Patch2 Family DiskId=20, Patch3 Family DiskId=30) (all
patches are in the same family)
I've ensured the SequenceStart does not overlap (P1=1000, P2=2000,
P3=3000)
I've tried pointing MsiFileToUseToCreatePatchTables to the RTM.msi, and
tried each of the other patch msi's just in case.

Has anyone else run into this error that turned out to be a different
problem/solution than below?

Thanks,

Shawn

> Huck, Jacob wrote:
> In case someone was looking at a similar issue: basically we
> have multiple cab files in a debug install (to contain the pdbs, which
> exceed 2GB in many cases). When generating the patch, I was leaving
> MediaDiskId blank, but in needed to be set to a value greater than the
> highest Media Id in the msi's.
>
>> Arnson, Bob wrote:
>> I've gotten that before when I was use a File/Sequence column of I4;
by
>> default, Patchwiz supplies a Patch/Sequence column of I2 so you need
to
>> use the MsiFileToUseToCreatePatchTables option to specify an I4
column.
>>
>>> Huck, Jacob wrote:
>>> ERROR: Failed to execute a view
>>> ERROR: The Last Error Received is: 1627
>>> ERROR: The Last Error Received is: 1: 2259 2:
>>> c:\temp\~pcw_tmp.tmp\3000.MSI 3: 4:


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

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


Re: [WiX-users] Patching fails with 1627

2008-08-18 Thread Tony Juricic
Don't patch the patch!

Always target: 
a) only RTM
b) RTM + another (non-patched) full install built after RTM
c) same as b plus you can add all full install MSI targets built after
RTM and preceding your patch build)

I don't know why 'they' (i.e. secretive installer people who reveal
pieces of a puzzle slowly and unwillingly, in a blog post or two, now
and then, maybe never...) have never explained it well enough for
everybody to understand, but the above works.


-Original Message-
From: Shawn Dwyer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2008 1:52 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching fails with 1627

Hi,

I'm running into what seems to be a common error on the mailing list,
but
none of the solutions so far have worked for me.

I have 3 basic test patches:
RTM: installs file1
Patch1: targets rtm, updates launch condition of RTM
Patch2: targets Patch1, updates file1 and installs directory2\file2
Patch3: targets Patch 2, updates file1 and installs directory3\file3
(doesn't touch file2)

Using Wix 2.0.5325.0 and MsiMsp 4.0 I am able to successfully create
Patch1.msp and Patch2.msp, but running MisMsp on Patch3.pcp gives the
error:

  INFO: Phase V: Entering Generate MSP.
  INFO:Generating Patch Metadata.
  ERROR: Internal PatchWiz Error occurred.
  ERROR:  The Last Error Received is: 1627
  ERROR:  The Last Error Received is: 1: 2213 2:

I've ensured the MediaDiskId field is not blank (RTM Media Id=1, Patch1
Family DiskId=10, Patch2 Family DiskId=20, Patch3 Family DiskId=30) (all
patches are in the same family)
I've ensured the SequenceStart does not overlap (P1=1000, P2=2000,
P3=3000)
I've tried pointing MsiFileToUseToCreatePatchTables to the RTM.msi, and
tried each of the other patch msi's just in case.

Has anyone else run into this error that turned out to be a different
problem/solution than below?

Thanks,

Shawn

> Huck, Jacob wrote:
> In case someone was looking at a similar issue: basically we
> have multiple cab files in a debug install (to contain the pdbs, which
> exceed 2GB in many cases). When generating the patch, I was leaving
> MediaDiskId blank, but in needed to be set to a value greater than the
> highest Media Id in the msi's.
>
>> Arnson, Bob wrote:
>> I've gotten that before when I was use a File/Sequence column of I4;
by
>> default, Patchwiz supplies a Patch/Sequence column of I2 so you need
to
>> use the MsiFileToUseToCreatePatchTables option to specify an I4
column.
>>
>>> Huck, Jacob wrote:
>>> ERROR: Failed to execute a view
>>> ERROR: The Last Error Received is: 1627
>>> ERROR: The Last Error Received is: 1: 2259 2:
>>> c:\temp\~pcw_tmp.tmp\3000.MSI 3: 4:


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


Re: [WiX-users] Patching fails with 1627

2008-08-14 Thread Shawn Dwyer
Hi,

I'm running into what seems to be a common error on the mailing list, but
none of the solutions so far have worked for me.

I have 3 basic test patches:
RTM: installs file1
Patch1: targets rtm, updates launch condition of RTM
Patch2: targets Patch1, updates file1 and installs directory2\file2
Patch3: targets Patch 2, updates file1 and installs directory3\file3
(doesn't touch file2)

Using Wix 2.0.5325.0 and MsiMsp 4.0 I am able to successfully create
Patch1.msp and Patch2.msp, but running MisMsp on Patch3.pcp gives the error:

  INFO: Phase V: Entering Generate MSP.
  INFO:Generating Patch Metadata.
  ERROR: Internal PatchWiz Error occurred.
  ERROR:  The Last Error Received is: 1627
  ERROR:  The Last Error Received is: 1: 2213 2:

I've ensured the MediaDiskId field is not blank (RTM Media Id=1, Patch1
Family DiskId=10, Patch2 Family DiskId=20, Patch3 Family DiskId=30) (all
patches are in the same family)
I've ensured the SequenceStart does not overlap (P1=1000, P2=2000, P3=3000)
I've tried pointing MsiFileToUseToCreatePatchTables to the RTM.msi, and
tried each of the other patch msi's just in case.

Has anyone else run into this error that turned out to be a different
problem/solution than below?

Thanks,

Shawn

> Huck, Jacob wrote:
> In case someone was looking at a similar issue: basically we
> have multiple cab files in a debug install (to contain the pdbs, which
> exceed 2GB in many cases). When generating the patch, I was leaving
> MediaDiskId blank, but in needed to be set to a value greater than the
> highest Media Id in the msi's.
>
>> Arnson, Bob wrote:
>> I've gotten that before when I was use a File/Sequence column of I4; by
>> default, Patchwiz supplies a Patch/Sequence column of I2 so you need to
>> use the MsiFileToUseToCreatePatchTables option to specify an I4 column.
>>
>>> Huck, Jacob wrote:
>>> ERROR: Failed to execute a view
>>> ERROR: The Last Error Received is: 1627
>>> ERROR: The Last Error Received is: 1: 2259 2:
>>> c:\temp\~pcw_tmp.tmp\3000.MSI 3: 4:
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patching fails with 1627

2007-04-02 Thread Bob Arnson

Huck, Jacob wrote:
I was positive the spirit of the msdn doc was saying it would work 
with PatchWiz 2.0 /or greater//, /but apparently not.  They said 
they'd improve the error message (long term) and write up a kb (short 
term).


Thanks for the follow-up! It almost makes sense, as PatchWiz 2.0 was the 
first version, but yeah, the doc usually uses a different approach when 
it talks about behavior that's replaced with a newer version.


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


Re: [WiX-users] Patching fails with 1627

2007-04-02 Thread Huck, Jacob
I opened an incident with MSFT, here's what they said (after a very
round-about conversation):

The documentation on it is correct - it needs to be at least one
more than the highest number in the DiskID column of the Media table. 
 
"This field can be null only if you are using version 2.0 of
Patchwiz.dll and if the MinimumRequiredMsiVersion in the Properties
table (Patchwiz.dll)
<http://msdn2.microsoft.com/en-us/library/aa370890.aspx>  is set to
200."
 
The nullable field was only allowed with older versions of
Patchwiz.dll. 

I was positive the spirit of the msdn doc was saying it would work with
PatchWiz 2.0 or greater, but apparently not.  They said they'd improve
the error message (long term) and write up a kb (short term).
 
-jh
 



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 31, 2007 2:44 PM
To: Huck, Jacob
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Patching fails with 1627


Huck, Jacob wrote: 

In case someone was looking at a similar issue:  basically we
have multiple cab files in a debug install (to contain the pdbs, which
exceed 2GB in many cases).  When generating the patch, I was leaving
MediaDiskId blank, but in needed to be set to a value greater than the
highest Media Id in the msi's.


Yes. That's interesting -- I'm specifying the number but based on the
doc, I'm wondering whether patchwiz 4.0 needs it...

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


Re: [WiX-users] Patching fails with 1627

2007-03-31 Thread Bob Arnson

Huck, Jacob wrote:
In case someone was looking at a similar issue:  basically we have 
multiple cab files in a debug install (to contain the pdbs, which 
exceed 2GB in many cases).  When generating the patch, I was leaving 
MediaDiskId blank, but in needed to be set to a value greater than the 
highest Media Id in the msi's.


Yes. That's interesting -- I'm specifying the number but based on the 
doc, I'm wondering whether patchwiz 4.0 needs it...


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


Re: [WiX-users] Patching fails with 1627

2007-03-30 Thread Huck, Jacob
In case someone was looking at a similar issue:  basically we have
multiple cab files in a debug install (to contain the pdbs, which exceed
2GB in many cases).  When generating the patch, I was leaving
MediaDiskId blank, but in needed to be set to a value greater than the
highest Media Id in the msi's.
 
Thanks
-jh



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Huck,
Jacob
Sent: Sunday, February 25, 2007 11:03 PM
To: Bob Arnson; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Patching fails with 1627


Sounded promising, but unless I did it incorrectly, it didn't work--I'm
still getting the same error.
 
How were you able to determine it was a schema issue (and then
specifically that column)?  I'd love to think I could apply the same
logic to my issue.
 
Thanks
-jh



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 25, 2007 1:38 PM
To: Huck, Jacob
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Patching fails with 1627


Huck, Jacob wrote: 

  ERROR: Failed to execute a view
  ERROR:The Last Error Received is: 1627
  ERROR:The Last Error Received is: 1: 2259 2:
c:\temp\~pcw_tmp.tmp\3000.MSI 3:  4:


I've gotten that before when I was use a File/Sequence column of I4; by
default, Patchwiz supplies a Patch/Sequence column of I2 so you need to
use the MsiFileToUseToCreatePatchTables option to specify an I4 column.

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


Re: [WiX-users] Patching fails with 1627

2007-02-25 Thread Bob Arnson

Huck, Jacob wrote:
Sounded promising, but unless I did it incorrectly, it didn't 
work--I'm still getting the same error.
 
How were you able to determine it was a schema issue (and then 
specifically that column)?  I'd love to think I could apply the same 
logic to my issue.


No magic, I'm afraid. I knew from the error codes that it was failing a 
SQL query to update a table, but not the query or even which table. So I 
went re-re-re-reading the doc and found the notes about Patch/Sequence.


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


Re: [WiX-users] Patching fails with 1627

2007-02-25 Thread Huck, Jacob
Sounded promising, but unless I did it incorrectly, it didn't work--I'm
still getting the same error.
 
How were you able to determine it was a schema issue (and then
specifically that column)?  I'd love to think I could apply the same
logic to my issue.
 
Thanks
-jh



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 25, 2007 1:38 PM
To: Huck, Jacob
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Patching fails with 1627


Huck, Jacob wrote: 

  ERROR: Failed to execute a view
  ERROR:The Last Error Received is: 1627
  ERROR:The Last Error Received is: 1: 2259 2:
c:\temp\~pcw_tmp.tmp\3000.MSI 3:  4:


I've gotten that before when I was use a File/Sequence column of I4; by
default, Patchwiz supplies a Patch/Sequence column of I2 so you need to
use the MsiFileToUseToCreatePatchTables option to specify an I4 column.

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


Re: [WiX-users] Patching fails with 1627

2007-02-25 Thread Bob Arnson

Huck, Jacob wrote:

  ERROR: Failed to execute a view
  ERROR:The Last Error Received is: 1627
  ERROR:The Last Error Received is: 1: 2259 2: 
c:\temp\~pcw_tmp.tmp\3000.MSI 3:  4:


I've gotten that before when I was use a File/Sequence column of I4; by 
default, Patchwiz supplies a Patch/Sequence column of I2 so you need to 
use the MsiFileToUseToCreatePatchTables option to specify an I4 column.


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


[WiX-users] Patching fails with 1627

2007-02-24 Thread Huck, Jacob
I'm currently building two varieties of my install, release and debug,
using WiX 3.0.  Right now I'm able to successfully create an MSP using
msimsp 4.0 for the release msi's only; when I try to generate a debug
MSP, I get the following error:
 
  ERROR: Failed to execute a view
  ERROR:The Last Error Received is: 1627
  ERROR:The Last Error Received is: 1: 2259 2:
c:\temp\~pcw_tmp.tmp\3000.MSI 3:  4:
 
Any suggestions on how I can determine what is causing the problem?  The
only differences between the release MSI and debug MSI should be
additional files per component (and additional internal cab files).
I've tried about every combination of WiX entries/different pcp values
but always receive this error.
 
Thanks
-jh
 
 
 
 
-
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