Re: [WiX-users] Some STUPID Limitations in WiX

2007-09-25 Thread Steve Maillet
I bet the developers of WiX toolset have never built a powerful
installer for customers.
You'd lose that bet! Microsoft Office 2007 installation is built with
WIX.

WIX is built on top of the Microsoft Installer so is limited in the
same way as the Windows Installer is. As you found you can create custom
actions to handle pretty much anything not already covered by the MSI
engine, but it takes care to get those write with regard to rollback and
un-install. 

LIMIT 2:
Not sure what you are trying to say here. We've built up a number of
wixlibs from fragments with a bunch of files and actions etc.. you just
use a ComponentRef or CustomActionRef, etc... to pull in the elements of
the fragment you are interested in. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dong Fang
Xie (Excell Data Corporation)
Sent: Tuesday, September 25, 2007 3:04 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Some STUPID Limitations in WiX

I'm working on a small and simple installer using WiX toolset (the
latest stable version 2.0.3719.0). To my surprise, it is really very
very tough !!  It almost drove me crazy.  I really don't understand why
there are so many stupid limitations:

LIMIT 1:
Since FileSearch, DirectorySearch, RegistrySearch are WiX elements, Why
there is no ProcessSearch or TaskSearch ?!I need to know whether a
specific process is running before installation/uninstallation.

LIMIT 2:
If all files in a msi package are from different small projects, I can
build a module for each small project, and create a main wxs file to
merge all modules. It should be a good idea, but how can I use the files
from different modules ?  There is no way for now. I must control all
custom actions in the main wxs file, and some custom actions need a
FileKey to a file in a module. I cannot distribute all cutom actions in
different modules, if I do so, how can I control the InstallSequence ?
Using stupid numbers?

LIMIT 3:
I defined a dialog which must be shown not only during installation but
also during uninstallation. But how to make it shown during
uninstallation ?  the UILevel will be set to basic UI or no UI
automatically by msiexec.exe.  How can I beg Windows NOT do that for me?
I can use command msiexec /qf /x msifile, but how can I know my
customer can do that each time they want to uninstall the msi file ?  Is
there any way I can define UILevel of uninstallation inside msi file ?

WiX is a very good toolset, but far from perfect !  I bet the developers
of WiX toolset have never built a powerful installer for customers.  I
will never know the limit if I wasn't assigned the job to build a small
and simple installer.

I noticed that there are some extensions in WiX 3.0, but it is still far
from enough.

For LIMIT 1, I've built my own dll to detect running processes. But how
to break LIMIT 2 and LIMIT 3 ?  Can you guys give me some ideas ?

Thanks in advance



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

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


Re: [WiX-users] install integrated MSHelp2 with WixVSExtensions.dll

2007-09-14 Thread Steve Maillet
Rene,

Thanks for helping!

 

When I add:

Merge DiskId=1 Id=HelpRegX86 Language=1033
SourceFile=HTML_Help_Registration__RTL_X86_---.msm /

Merge DiskId=1 Id=VsipCCRTL Language=1033
SourceFile=VSIPCC_Collection_Files_RTL_---_---.msm /

 

And in my feature:

MergeRef Id='HelpRegX86' Primary='yes' /

MergeRef Id='VsipCCRTL' Primary='yes' /

 

I get the following set of errors and warning from Light.exe:

light.exe(0,0): Warning LGHT1076: ICE03: String overflow (greater than
length permitted in column); Table: File, Column: File, Key(s):
FL_vsipccNamedURLs_hxk_86888.3643236F_FC70_11D3_A536_0090278A1BB
8

light.exe(0,0): Error LGHT0204: ICE03: Not a valid foreign key; Table:
HelpPlugin, Column: HelpNamespace_Parent, Key(s):
MS_VSIPCC_v80.MS_VSCC_v80

light.exe(0,0): Error LGHT0204: ICE03: Not a valid foreign key; Table:
HelpPlugin, Column: HelpNamespace_Parent, Key(s):
MS_VSIPCC_v80.MS_VSExpressCC_v80

light.exe(0,0): Warning LGHT1076: ICE03: String overflow (greater than
length permitted in column); Table: MsiFileHash, Column: File_, Key(s):
FL_vsipccNamedURLs_hxk_86888.3643236F_FC70_11D3_A536_0090278A1BB
8

light.exe(0,0): Warning LGHT1076: ICE03: String overflow (greater than
length permitted in column); Table: Registry, Column: Registry, Key(s):
_FldbVs8_RegFile_15039_0.3643236F_FC70_11D3_A536_0090278A1BB
8

light.exe(0,0): Error LGHT0204: ICE27: 'RegisterComPlus' Action in
InstallExecuteSequence table in wrong place. Current: PostExecution,
Correct: Execution

light.exe(0,0): Error LGHT0204: ICE27: 'InstallServices' Action in
InstallExecuteSequence table in wrong place. Current: PostExecution,
Correct: Execution

light.exe(0,0): Error LGHT0204: ICE27: 'CreateShortcuts' Action in
InstallExecuteSequence table in wrong place. Current: PostExecution,
Correct: Execution

light.exe(0,0): Error LGHT0204: ICE77:
CA_CommitHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8 is a
in-script custom action.  It must be sequenced in between the
InstallInitialize action and the InstallFinalize action in the
InstallExecuteSequence table

light.exe(0,0): Error LGHT0204: ICE77:
CA_HxMerge_VSIPCC_VSCC.3643236F_FC70_11D3_A536_0090278A1BB8 is a
in-script custom action.  It must be sequenced in between the
InstallInitialize action and the InstallFinalize action in the
InstallExecuteSequence table

light.exe(0,0): Error LGHT0204: ICE77:
CA_HxMerge_VSIPCC_VSExpCC.3643236F_FC70_11D3_A536_0090278A1BB8 is a
in-script custom action.  It must be sequenced in between the
InstallInitialize action and the InstallFinalize action in the
InstallExecuteSequence table

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table InstallExecuteSequence

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table InstallUISequence

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table AdminExecuteSequence

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table AdminUISequence

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table AdvtExecuteSequence

 

We've got to be missing something, but it's not clear to me what that
could be...

 

From: Schrieken, Rene [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 14, 2007 5:11 AM
To: Steve Maillet; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] install integrated MSHelp2 with
WixVSExtensions.dll

 

Do you merge the html_help_registration found in the VSSDK?

 

Merge DiskId=1 Id=msm Language=1033
SourceFile=Merge\HTML_Help_Registration__RTL_X86_---.msm /

 

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Maillet
Sent: Friday, September 14, 2007 2:32 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] install integrated MSHelp2 with WixVSExtensions.dll

 

We've been exploring WIX a bit and found it's developer friendly
compile/link process and the votive wixlib project system to be a
fantastic improvement over all other tools we've used. Even with as
little documentation as there is on WIX we've been able to get
productive quite quickly. However, there is one nagging issue we can't
figure out. We are trying to provide integrated help for VS2005 for our
developer libraries. The WixVsExtensions.dll looks like it will
ultimately do the trick but we just can't figure out how to get it to
work right. (Getting an ICE03 error regarding an invalid foreign key if
we use the PlugCollectionInto element)

 

Has anyone tried using any of this? Any pointers, suggestions or
samples?

 

Steve Maillet - CTO

EmbeddedFusion

Re: [WiX-users] install integrated MSHelp2 with WixVSExtensions.dll

2007-09-14 Thread Steve Maillet
Even without the VSIPCC merge module and language=0 I still get this:

C:\Users\smaillet\Documents\Visual Studio
2005\Projects\TestWixVSHelp\WixProject1\WixProject1.wxs(59,0): Error
LGHT0204: ICE03: Not a valid foreign key; Table: HelpPlugin, Column:
HelpNamespace_Parent, Key(s): EMFSPOT.Tahoe.MS_VSIPCC_v80

light.exe(0,0): Error LGHT0204: ICE27: 'RegisterComPlus' Action in
InstallExecuteSequence table in wrong place. Current: PostExecution,
Correct: Execution

light.exe(0,0): Error LGHT0204: ICE27: 'InstallServices' Action in
InstallExecuteSequence table in wrong place. Current: PostExecution,
Correct: Execution

light.exe(0,0): Error LGHT0204: ICE77:
CA_CommitHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8 is a
in-script custom action.  It must be sequenced in between the
InstallInitialize action and the InstallFinalize action in the
InstallExecuteSequence table

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table InstallExecuteSequence

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table InstallUISequence

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table AdminExecuteSequence

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table AdminUISequence

light.exe(0,0): Warning LGHT1076: ICE82: This action
ProgramFilesFolder.3643236F_FC70_11D3_A536_0090278A1BB8 has duplicate
sequence number 1 in the table AdvtExecuteSequence

 

Without the VSIPCC merge module, what does your help plug into? MS wants
installers to plug into the VSIPCC as of VS2005.

 

From: Schrieken, Rene [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 14, 2007 11:40 AM
To: Steve Maillet; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] install integrated MSHelp2 with
WixVSExtensions.dll

 

I'm not sure what is causing that. I'm only using the
HTML_help_registration. Can you try to set the Language=0 to see of
that helps?

 

 

 

 



From: [EMAIL PROTECTED] on behalf of Steve Maillet
Sent: Fri 9/14/2007 13:35
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] install integrated MSHelp2 with
WixVSExtensions.dll

Rene,

Thanks for helping!

 

When I add:

Merge DiskId=1 Id=HelpRegX86 Language=1033
SourceFile=HTML_Help_Registration__RTL_X86_---.msm /

Merge DiskId=1 Id=VsipCCRTL Language=1033
SourceFile=VSIPCC_Collection_Files_RTL_---_---.msm /

 

And in my feature:

MergeRef Id='HelpRegX86' Primary='yes' /

MergeRef Id='VsipCCRTL' Primary='yes' /

 

I get the following set of errors and warning from Light.exe:

light.exe(0,0): Warning LGHT1076: ICE03: String overflow (greater than
length permitted in column); Table: File, Column: File, Key(s):
FL_vsipccNamedURLs_hxk_86888.3643236F_FC70_11D3_A536_0090278A1BB
8

light.exe(0,0): Error LGHT0204: ICE03: Not a valid foreign key; Table:
HelpPlugin, Column: HelpNamespace_Parent, Key(s):
MS_VSIPCC_v80.MS_VSCC_v80

light.exe(0,0): Error LGHT0204: ICE03: Not a valid foreign key; Table:
HelpPlugin, Column: HelpNamespace_Parent, Key(s):
MS_VSIPCC_v80.MS_VSExpressCC_v80

light.exe(0,0): Warning LGHT1076: ICE03: String overflow (greater than
length permitted in column); Table: MsiFileHash, Column: File_, Key(s):
FL_vsipccNamedURLs_hxk_86888.3643236F_FC70_11D3_A536_0090278A1BB
8

light.exe(0,0): Warning LGHT1076: ICE03: String overflow (greater than
length permitted in column); Table: Registry, Column: Registry, Key(s):
_FldbVs8_RegFile_15039_0.3643236F_FC70_11D3_A536_0090278A1BB
8

light.exe(0,0): Error LGHT0204: ICE27: 'RegisterComPlus' Action in
InstallExecuteSequence table in wrong place. Current: PostExecution,
Correct: Execution

light.exe(0,0): Error LGHT0204: ICE27: 'InstallServices' Action in
InstallExecuteSequence table in wrong place. Current: PostExecution,
Correct: Execution

light.exe(0,0): Error LGHT0204: ICE27: 'CreateShortcuts' Action in
InstallExecuteSequence table in wrong place. Current: PostExecution,
Correct: Execution

light.exe(0,0): Error LGHT0204: ICE77:
CA_CommitHelpTransaction.3643236F_FC70_11D3_A536_0090278A1BB8 is a
in-script custom action.  It must be sequenced in between the
InstallInitialize action and the InstallFinalize action in the
InstallExecuteSequence table

light.exe(0,0): Error LGHT0204: ICE77:
CA_HxMerge_VSIPCC_VSCC.3643236F_FC70_11D3_A536_0090278A1BB8 is a
in-script custom action.  It must be sequenced in between the
InstallInitialize action and the InstallFinalize action in the
InstallExecuteSequence table

light.exe(0,0): Error LGHT0204: ICE77:
CA_HxMerge_VSIPCC_VSExpCC.3643236F_FC70_11D3_A536_0090278A1BB8 is a
in-script custom action.  It must be sequenced in between

[WiX-users] install integrated MSHelp2 with WixVSExtensions.dll

2007-09-13 Thread Steve Maillet
We've been exploring WIX a bit and found it's developer friendly
compile/link process and the votive wixlib project system to be a
fantastic improvement over all other tools we've used. Even with as
little documentation as there is on WIX we've been able to get
productive quite quickly. However, there is one nagging issue we can't
figure out. We are trying to provide integrated help for VS2005 for our
developer libraries. The WixVsExtensions.dll looks like it will
ultimately do the trick but we just can't figure out how to get it to
work right. (Getting an ICE03 error regarding an invalid foreign key if
we use the PlugCollectionInto element)

 

Has anyone tried using any of this? Any pointers, suggestions or
samples?

 

Steve Maillet - CTO

EmbeddedFusion, Ltd. 

 

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