Re: [WiX-users] Progress Bar problem

2014-01-03 Thread Nicolás Alvarez
El jueves, 2 de enero de 2014, Ravishankar escribió:

> Hi,
> I have build a msi with 6000+ files(out of which 4500 dll files).
> When i extract using Heat.exe nearly 600,000+ lines of code are
> generated and including all these LoC in one single wxs file is not
> possible, it is throwing 'Out Of Memory Execption'


Why do you have so many files?? Are you putting one class per DLL?


> So i splitted into 6 individual wxs files and referred with
>  tag in the product.wxs
>
> Am able to make the build, but when installing either the progress bar
> shows 100% completed with Time Remaining = 0 Sec or the progress bar
> will show 0% completed
>

What are you using for your installer's GUI? Just the default UI that only
shows a progress bar, or do you have something else?



-- 
Nicolás
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help passing properties to Rollback custom action.

2014-01-03 Thread Nicolás Alvarez
El viernes, 20 de diciembre de 2013, escribió:

> Hello,
>
> I have a custom action that moves some deprecated files from an
> old install to a temp directory during a major upgrade and I have another
> custom action to move them back that runs only during roll back. I am
> having trouble accessing the two properties set by the first custom action
> in my rollback custom action every time I access the CustomActionData
> dictionary in my rollback action it is empty even though in the MSI log I
> can clearly see it got set to the proper values.
>
> Below are the custom action definitions:
>
>Id="DeleteUserAdminDeprecatedFiles" BinaryKey="FileSearchCA"
> DllEntry="DeleteDeprecatedFiles" Execute="immediate" Return="check" />
>
>BinaryKey="FileSearchCA" DllEntry="RestoreDeprecatedFiles"
> Execute="rollback" Return="ignore"/>
>
>Property="RestoreDeprecatedFiles"
> Value="RootDir=[DEPRECATEDFILESROOTDIR];TempDir=[DEPRECATEDTEMPORARYDIR]" />
>
> Below is the scheduling of the actions:
>
>   Action="SetRollbackData" After="DeleteDeprecatedFiles">
>
> OLD_VERSION_FOUND OR
>
>
> REMOVEINSTALLSHIELD
>  
>   Action="DeleteDeprecatedFiles" Before="InstallFinalize">
>
> OLD_VERSION_FOUND OR
>
>
> REMOVEINSTALLSHIELD
>   
>  
>   Action="RestoreDeprecatedFiles" After="InstallInitialize"/>
>
> Below are the relevant Log entries:
>
> MSI (s) (20:D4) [07:53:29:229]: Doing action: DeleteDeprecatedFiles
> Action 7:53:29: DeleteDeprecatedFiles.
> Action start 7:53:29: DeleteDeprecatedFiles.
> MSI (s) (20:2C) [07:53:29:237]: Invoking remote custom action. DLL:
> C:\Windows\Installer\MSI2DDF.tmp, Entrypoint: DeleteDeprecatedFiles
> SFXCA: Extracting custom action to temporary directory:
> C:\Windows\Installer\MSI2DDF.tmp-\
> SFXCA: Binding to CLR version v4.0.30319
> Calling custom action
> FileSearchCA!FileSearchCA.FileSearchCA.DeleteDeprecatedFiles
> Starting UserAdmin delete deprecated files Custom Action.
> MSI (s) (20!A4) [07:53:29:413]: PROPERTY CHANGE: Adding
> DEPRECATEDFILESROOTDIR property. Its value is 'C:\Program Files\Duck Creek
> Technologies\ExampleUserAdmin\bin'.
> MSI (s) (20!A4) [07:53:29:417]: PROPERTY CHANGE: Adding
> DEPRECATEDTEMPORARYDIR property. Its value is
> 'C:\Users\LMUser\AppData\Local\Temp\kg2s3d3v.vqo'.
> Action ended 7:53:29: DeleteDeprecatedFiles. Return value 1.
> MSI (s) (20:D4) [07:53:29:458]: Doing action: SetRollbackData
> Action 7:53:29: SetRollbackData.
> Action start 7:53:29: SetRollbackData.
> MSI (s) (20:D4) [07:53:29:465]: PROPERTY CHANGE: Adding
> RestoreDeprecatedFiles property. Its value is 'RootDir=C:\Program
> Files\Duck Creek
> Technologies\ExampleUserAdmin\bin;TempDir=C:\Users\LMUser\AppData\Local\Temp\kg2s3d3v.vqo'.
> Action ended 7:53:29: SetRollbackData. Return value 1.
> MSI (s) (20:D4) [07:53:29:469]: Doing action: InstallFinalize
> Action 7:53:29: InstallFinalize.
>
>
>
>
> Rollback: RestoreDeprecatedFiles
> MSI (s) (20:D4) [07:55:19:904]: Executing op:
> ActionStart(Name=RestoreDeprecatedFiles,,)
> MSI (s) (20:D4) [07:55:19:906]: Executing op:
> CustomActionRollback(Action=RestoreDeprecatedFiles,ActionType=1345,Source=BinaryData,Target=RestoreDeprecatedFiles,)
> MSI (s) (20:60) [07:55:19:910]: Invoking remote custom action. DLL:
> C:\Windows\Installer\MSIDE33.tmp, Entrypoint: RestoreDeprecatedFiles
> SFXCA: Extracting custom action to temporary directory:
> C:\Windows\Installer\MSIDE33.tmp-\
> SFXCA: Binding to CLR version v4.0.30319
> Calling custom action
> FileSearchCA!FileSearchCA.FileSearchCA.RestoreDeprecatedFiles
> Starting rollback for Deprecated files.
> Printing CustomActionData.
> Error in Rollback Deprecated files...
> System.Collections.Generic.KeyNotFoundException
> The given key was not present in the dictionary.
>at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
>at FileSearchCA.FileSearchCA.RestoreDeprecatedFiles(Session session)
> MSI (s) (20:D4) [07:55:20:578]: Executing op:
> End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0)
> MSI (s) (20:D4) [07:55:20:581]: Error in rollback skipped.   Return: 5
> MSI (s) (20:D4) [07:55:20:611]: Note: 1: 2318 2:
> MSI (s) (20:D4) [07:55:20:614]: No System Restore sequence number for this
> installation.
> MSI (s) (20:D4) [07:55:20:616]: Unlocking Server
> MSI (s) (20:D4) [07:55:20:631]: PROPERTY CHANGE: Deleting UpdateStarted
> property. Its current value is '1'.
> Action ended 7:55:20: INSTALL. Return value 3.
>
> Also for good measure the relevant code in the custom action:
>
>   [CustomAction]
>   public static ActionR

Re: [WiX-users] Invoking batch file

2014-01-03 Thread Phill Hogland
FYI Devcon.exe is not redistributable.  You might want to consider a
different approach.
http://support.microsoft.com/kb/311272/en-US




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Invoking-batch-file-tp7591572p7591577.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] multiple immediate Quiet Execution custom actions

2014-01-03 Thread Marek Mielcarek
I need to invoke Quiet Execution Custom Action multiple times in the immediate 
sequence. There is a web 
help 
content available but no examples.
I tried this:




WiX compiler fails with "The CustomAction/@DllEntry attribute cannot coexist 
with a previously specified attribute on this element.  The CustomAction 
element may only have one of the following target attributes specified at a 
time: DllEntry, Error, ExeCommand, JScriptCall, Script, Value, or VBScriptCall."

I am obviously missing something. Can someone please provide the right way of 
getting this working ?
Thanks a lot.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] multiple immediate Quiet Execution custom actions

2014-01-03 Thread John Cooper
You can't have the Property and Value attributes in the executing call.  You 
need to separate them per the example in the Wix.chm (look under "Standard 
Custom Actions):



.
.
.




You can use an appropriately scheduled  element instead of the 
static  element above.

Note that an immediate call is only appropriate if the the executable call is 
not changing the state of the machine.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com





-Original Message-
From: Marek Mielcarek [mailto:mmielca...@actuate.com] 
Sent: Friday, January 3, 2014 1:20 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] multiple immediate Quiet Execution custom actions

I need to invoke Quiet Execution Custom Action multiple times in the immediate 
sequence. There is a web 
help 
content available but no examples.
I tried this:

 


WiX compiler fails with "The CustomAction/@DllEntry attribute cannot coexist 
with a previously specified attribute on this element.  The CustomAction 
element may only have one of the following target attributes specified at a 
time: DllEntry, Error, ExeCommand, JScriptCall, Script, Value, or VBScriptCall."

I am obviously missing something. Can someone please provide the right way of 
getting this working ?
Thanks a lot.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance affects 
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & 
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] multiple immediate Quiet Execution custom actions

2014-01-03 Thread Marek Mielcarek
Thank you very much. 
I've got it working by setting the value of "QtExecCmdLine" with 
I appreciate your help.
Marek

-Original Message-
From: John Cooper [mailto:jocoo...@jackhenry.com] 
Sent: Friday, January 03, 2014 2:46 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] multiple immediate Quiet Execution custom actions

You can't have the Property and Value attributes in the executing call.  You 
need to separate them per the example in the Wix.chm (look under "Standard 
Custom Actions):

  .
.
.

 


You can use an appropriately scheduled  element instead of the 
static  element above.

Note that an immediate call is only appropriate if the the executable call is 
not changing the state of the machine.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com





-Original Message-
From: Marek Mielcarek [mailto:mmielca...@actuate.com]
Sent: Friday, January 3, 2014 1:20 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] multiple immediate Quiet Execution custom actions

I need to invoke Quiet Execution Custom Action multiple times in the immediate 
sequence. There is a web 
help 
content available but no examples.
I tried this:

 


WiX compiler fails with "The CustomAction/@DllEntry attribute cannot coexist 
with a previously specified attribute on this element.  The CustomAction 
element may only have one of the following target attributes specified at a 
time: DllEntry, Error, ExeCommand, JScriptCall, Script, Value, or VBScriptCall."

I am obviously missing something. Can someone please provide the right way of 
getting this working ?
Thanks a lot.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance affects 
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & 
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended exclusively for the individual or entity to which it is addressed. The 
message, together with any attachment, may contain confidential and/or 
privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution is strictly prohibited. If you have received this message in 
error, please immediately advise the sender by reply email and delete all 
copies.


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance affects 
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & 
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] merging multiple WiX projects

2014-01-03 Thread Marek Mielcarek
What is the best strategy for merging multiple working WiX projects into single 
installer ?
Thank you.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] merging multiple WiX projects

2014-01-03 Thread Rob Mensching
Bundle.

-Original Message-
From: Marek Mielcarek [mailto:mmielca...@actuate.com] 
Sent: Friday, January 3, 2014 4:21 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] merging multiple WiX projects

What is the best strategy for merging multiple working WiX projects into single 
installer ?
Thank you.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance affects 
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & 
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] merging multiple WiX projects

2014-01-03 Thread Phill Hogland
The way I do it is to create each MSI ('setup' project in VS) without
defining a UI.  I just focus on getting the functionality of each MSI
working.  Then create a 'bootstrapper' project (or bundle) and add the
MsiPackage element for each MSI into the chain.  



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/merging-multiple-WiX-projects-tp7591581p7591583.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] selectively upgrading a package in burn

2014-01-03 Thread Nicolás Alvarez
2014/1/2 Dave Andersen :
> Hello WiX users,
>
> I tried sending this message via Nabble earlier, but I sent it to the wrong
> group and later tried to "move" it, but I think it just dropped into the
> void. Apologies if this is a duplicate message.
>
> I am developing a custom burn bootstrapper application (call that bundle
> v1.0). A new requirement is that we want to present an option to allow the
> user to skip the upgrade of a particular package (call that package A).
>
> During the installation of [bundle v2.0], I can handle the PlanPackageBegin
> event and set the state for [package A] to RequestState.None, which will
> prevent [package A v2.0] from running and replacing [package A v1.0], but
> then when the [bundle v1.0] is uninstalled, it will remove the existing
> [package A v1.0]. This behavior seems totally reasonable to me, but I
> actually want that package to persist.
>
> The only way I can think of right now to get this to work would be to make
> the bootstrapper accept a command-line argument during uninstall which would
> indicate whether or not it should remove [package A]. However, with this
> scenario, I'm concerned that [package A v1.0] would essentially be orphaned,
> so when [bundle v3.0] comes around and the system has [bundle v2.0] with
> [package A v1.0], things would just fall apart.
>
> It seems like ideally, there would be some way to add to the ref-count of
> the old [package A v1.0] from [bundle v2.0], but I have no idea if this is
> possible, or even a reasonable idea. It seems like the nuances of packaging
> are starting to be way over my head at this point.
>
> I don't need this to work for upgrading already released bundles, but I'd
> like to figure out a good solution for going forward.

I think what you want is that bundle v2.0 should install package A
v1.0 - which won't actually install it since it's already installed,
but will increase the refcount.

Disclaimer: I haven't actually used Burn yet myself :)

-- 
Nicolás

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Patching strategy

2014-01-03 Thread KG
I am implementing a new installer for a product that needs to include several
GB of data. I'm planning on having a single MSI for the application, several
MSIs for the data, and using burn to chain everything together. 

The data will change periodically and updates will be delivered online, so
patching is a must. I've never had to implement patches in a user facing
product before, and am confused about the following:

The first installer will obviously be very large (as all of the data must be
included). Once we start releasing updates, do we release a "full" update
with all of the data for new users alongside a patch update for existing
users? Is there a way to just release the patches and have the bootstrapper
download the initial msi if it's being installed by a new user? Or do we
always download the initial data msi to keep the user experience consistent
(ie, the first installer would be very small, but download the full data)?

Any advice would be greatly appreciated!



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patching-strategy-tp7591585.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users