Re: [WiX-users] CustomUI change install path not possible?
Hello Bob, When we come to the InstallDirDlg, the directory is shown correctly, if the DirectorySet ca is run early enough. If the user now wishes to customize this path, I get an error 2707, that the path does not exist, when I start up the BrowseDlg. Error 2707 includes the directory causing the error. What is it? The doc says that the directory must be listed in the Directory table. Is it? The directory causing the error is the TARGETDIR. The root path of the installation and yes, the main component has a CreateFolder tag for it. Oliver - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Patch Problem
Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] CustomUI change install path not possible?
Hello Bob, When we come to the InstallDirDlg, the directory is shown correctly, if the DirectorySet ca is run early enough. If the user now wishes to customize this path, I get an error 2707, that the path does not exist, when I start up the BrowseDlg. Error 2707 includes the directory causing the error. What is it? The doc says that the directory must be listed in the Directory table. Is it? The directory causing the error is the TARGETDIR. The root path of the installation and yes, the main component has a CreateFolder tag for it. Stop, I've just seen that I turned facts. The one MergeModule with the IisExtension gets its folders createt in the right path, all files and files and folders of the other mergemodules and the main setup get installed in the wrong path. Oliver - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to write a text file using WIX
srinivas nomu [EMAIL PROTECTED] wrote: Dear Bob, Can you please elaborate a little bit the process or point to me to any documentation. I searched on web and could not find relevant topic. Thanks. Srinivas Bob Arnson [EMAIL PROTECTED] wrote: srinivas nomu wrote: I want to get the CD-Key input from the user and write into a License.dat file, which is actually a text file. How should I do with WIX. Any examples?. The only MSI support for writing to text files is via the IniFile table. -- sig://boB http://joyofsetup.com/ - Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. - Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. - Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Progress pictures available ?
Hi, I just wonder if it is possible to not only show a progress bar and action text but also show various pictures to the user while he is waiting for the install to finish? I'd like to show him every 10 seconds a new picture. Either as a background splash screen or inside the progress dialog. Depends what is easier. My current progress bar shows a bar and some text, but no pictures. ?xml version=1.0 encoding=UTF-8? !-- Copyright (c) Microsoft Corporation. All rights reserved. -- Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment Id=SetupProgress UI Dialog Id=SetupProgress Width=439 Height=348 Title=[ProductName] Modeless=yes [.] Control Id=ActionText Type=Text X=134 Y=100 Width=275 Height=12 Subscribe Event=ActionText Attribute=Text / /Control Control Id=ActionProgress95 Type=ProgressBar X=134 Y=113 Width=275 Height=12 ProgressBlocks=yes Text=Progress done Subscribe Event=InstallFiles Attribute=Progress / Subscribe Event=MoveFiles Attribute=Progress / Subscribe Event=RemoveFiles Attribute=Progress / Subscribe Event=RemoveRegistryValues Attribute=Progress / Subscribe Event=WriteIniValues Attribute=Progress / Subscribe Event=WriteRegistryValues Attribute=Progress / Subscribe Event=UnmoveFiles Attribute=Progress / Subscribe Event=AdminInstallFinalize Attribute=Progress / Subscribe Event=SetProgress Attribute=Progress / /Control Control Id=Banner Type=Bitmap X=0 Y=44 Width=113 Height=260 FixedSize=yes Text=BannerBitmap / Control Id=BannerLine Type=Line X=113 Y=316 Width=326 Height=0 / Control Id=DlgLine Type=Line X=0 Y=44 Width=439 Height=0 / [.] /Dialog /UI /Fragment /Wix Regards, Joachim Back - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] unconditional full install on minor upgrade
Hi Brain, I checked with Orca, my ProductsCodes are different and UpgradeCodes are same. Whats wrong? Anything I should check in the verbose log? - Nitin _ From: Brian Simoneau [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 6:42 PM To: Nitin; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] unconditional full install on minor upgrade Versions 0.3.0 and 0.4.0 must have the same UpgradeCode but different ProductCodes. If you are seeing maintenance mode, then they probably have the same ProductCode. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nitin Sent: Wednesday, July 11, 2007 9:07 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] unconditional full install on minor upgrade Hi, I have 2 setups, one with version 0.3.0 and second with 0.4.0 These setups have been created using dark of a visual studio setup project and then UI was modified. It has the following tags Upgrade Id=78055FAC-F55D-409A-846A-50A03E3D81B6 UpgradeVersion Minimum=0.4.0 Property=NEWERPRODUCTFOUND OnlyDetect=yes IncludeMinimum=yes / Property Id=NEWERPRODUCTFOUND Secure=yes / UpgradeVersion Minimum=0.1.0 Maximum=0.4.0 Property=PREVIOUSVERSIONSINSTALLED IncludeMinimum=yes / Property Id=PREVIOUSVERSIONSINSTALLED Secure=yes / /Upgrade RemoveExistingProducts After=InstallInitialize / Both the versions have this same upgrade ID Now when I install 0.4.0 over 0.3.0, it shows me Maintenance Form. I have tried using Show Dialog=MaintenanceForm After=ResumeForm0/Show but it doesn't work. I have also added following properties Property Id=REINSTALL Value=ALL/Property Property Id=REINSTALLMODE Value=vomus/Property I want the 0.4.0 setup to uninstall 0.3.0 installation and do a full installation for 0.4.0 - Nitin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] unconditional full install on minor upgrade
The PackageCode guids - are they different? Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nitin Sent: Thursday, July 12, 2007 8:49 AM To: 'Brian Simoneau'; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] unconditional full install on minor upgrade Hi Brain, I checked with Orca, my ProductsCodes are different and UpgradeCodes are same. Whats wrong? Anything I should check in the verbose log? - Nitin From: Brian Simoneau [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 6:42 PM To: Nitin; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] unconditional full install on minor upgrade Versions 0.3.0 and 0.4.0 must have the same UpgradeCode but different ProductCodes. If you are seeing maintenance mode, then they probably have the same ProductCode. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nitin Sent: Wednesday, July 11, 2007 9:07 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] unconditional full install on minor upgrade Hi, I have 2 setups, one with version 0.3.0 and second with 0.4.0 These setups have been created using dark of a visual studio setup project and then UI was modified. It has the following tags Upgrade Id=78055FAC-F55D-409A-846A-50A03E3D81B6 UpgradeVersion Minimum=0.4.0 Property=NEWERPRODUCTFOUND OnlyDetect=yes IncludeMinimum=yes / Property Id=NEWERPRODUCTFOUND Secure=yes / UpgradeVersion Minimum=0.1.0 Maximum=0.4.0 Property=PREVIOUSVERSIONSINSTALLED IncludeMinimum=yes / Property Id=PREVIOUSVERSIONSINSTALLED Secure=yes / /Upgrade RemoveExistingProducts After=InstallInitialize / Both the versions have this same upgrade ID Now when I install 0.4.0 over 0.3.0, it shows me Maintenance Form. I have tried using Show Dialog=MaintenanceForm After=ResumeForm0/Show but it doesn't work. I have also added following properties Property Id=REINSTALL Value=ALL/Property Property Id=REINSTALLMODE Value=vomus/Property I want the 0.4.0 setup to uninstall 0.3.0 installation and do a full installation for 0.4.0 - Nitin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] unconditional full install on minor upgrade
Try not setting REINSTALL and REINSTALLMODE. Those should only be necessary for minor updates, but you are trying to do a major update. -Brian Simoneau -Original Message- From: Nitin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 11:49 AM To: Brian Simoneau; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] unconditional full install on minor upgrade Hi Brain, I checked with Orca, my ProductsCodes are different and UpgradeCodes are same. Whats wrong? Anything I should check in the verbose log? - Nitin From: Brian Simoneau [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 6:42 PM To: Nitin; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] unconditional full install on minor upgrade Versions 0.3.0 and 0.4.0 must have the same UpgradeCode but different ProductCodes. If you are seeing maintenance mode, then they probably have the same ProductCode. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nitin Sent: Wednesday, July 11, 2007 9:07 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] unconditional full install on minor upgrade Hi, I have 2 setups, one with version 0.3.0 and second with 0.4.0 These setups have been created using dark of a visual studio setup project and then UI was modified. It has the following tags Upgrade Id=78055FAC-F55D-409A-846A-50A03E3D81B6 UpgradeVersion Minimum=0.4.0 Property=NEWERPRODUCTFOUND OnlyDetect=yes IncludeMinimum=yes / Property Id=NEWERPRODUCTFOUND Secure=yes / UpgradeVersion Minimum=0.1.0 Maximum=0.4.0 Property=PREVIOUSVERSIONSINSTALLED IncludeMinimum=yes / Property Id=PREVIOUSVERSIONSINSTALLED Secure=yes / /Upgrade RemoveExistingProducts After=InstallInitialize / Both the versions have this same upgrade ID Now when I install 0.4.0 over 0.3.0, it shows me Maintenance Form. I have tried using Show Dialog=MaintenanceForm After=ResumeForm0/Show but it doesn't work. I have also added following properties Property Id=REINSTALL Value=ALL/Property Property Id=REINSTALLMODE Value=vomus/Property I want the 0.4.0 setup to uninstall 0.3.0 installation and do a full installation for 0.4.0 - Nitin - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Patch Problem Urgent !!!
This looks like either you don't have permission to edit the metabase or the metabase doesn't exist. Do you have the lines from the wix patch regarding writing to the /W3SVC/1/Root ? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petrut Andrei Sent: Thursday, July 12, 2007 12:15 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Patch Problem Urgent !!! Andrei PETRUT - Forwarded Message From: Petrut Andrei [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 12, 2007 10:14:21 AM Subject: Patch Hey. This is the log file created when I run the patch and stops when that error occurs: **logFile** Action 09:36:55: CreateFolders. Creating folders CreateFolders: Folder: C:\CRMWebDocuments\ Action 09:36:55: InstallFiles. Copying new files InstallFiles: File: Testing, Directory: C:\Program Files\misoft systems\CRMWeb\www\, Size: 0 Action 09:36:55: ExecXmlFileRollback. Action 09:36:55: ExecXmlFile. Action 09:36:55: StartMetabaseTransaction. Starting IIS Metabase Transaction Action 09:36:55: RollbackMetabaseTransaction. Rolling back IIS Metabase Transaction Action 09:36:55: CommitMetabaseTransaction. Committing IIS Metabase Transaction Action 09:36:55: WriteMetabaseChanges. Installing Metabase Keys and Values WriteMetabaseChanges: Error 0x80070003: failed to create metabase key: /W3SVC/1/Root// Error 26103. Failed to create metabase key. (-2147024893 /W3SVC/1/Root// ) MSI (s) (7C!00) [09:36:57:625]: Product: CRMWeb 2.0 -- Error 26103. Failed to create metabase key. (-2147024893 /W3SVC/1/Root// ) WriteMetabaseChanges: Error 0x80070003: failed to create metabase key Action ended 09:36:57: InstallFinalize. Return value 3. Action 09:36:57: Rollback. Rolling back action: Rollback: Installing Metabase Keys and Values Rollback: Committing IIS Metabase Transaction Rollback: Rolling back IIS Metabase Transaction Rollback: Starting IIS Metabase Transaction Rollback: ExecXmlFile Rollback: ExecXmlFileRollback Rollback: Copying new files Rollback: Creating folders Rollback: Updating component registration Action ended 09:37:06: INSTALL. Return value 3. Action ended 09:37:06: ExecuteAction. Return value 3. Action 09:37:06: FatalError. Action start 09:37:06: FatalError. Info 2898. WixUI_Font_Normal_Bold, Arial, 0 Action 09:37:06: FatalError. Dialog created Action ended 09:37:11: FatalError. Return value 2. Action ended 09:37:11: INSTALL. Return value 3. === Logging stopped: 12.07.2007 09:37:11 === MSI (c) (7C:9C) [09:37:11:296]: Product: CRMWeb 2.0 - Update 'CRMWeb 2.1 Patch' could not be installed. Error code 1603. Additional information is available in the log file D:\msCRM\msCRMWebSetupWiX\logPatch.txt. MSI (c) (7C:9C) [09:37:11:296]: Product: CRMWeb 2.0 -- Configuration failed. ** Any ideas ? Andrei PETRUT Expecting? Get great news right away with email Auto-Check.http://us.rd.yahoo.com/evt=49982/*http:/advision.webevents.yahoo.com/mailbeta/newmail_tools.html Try the Yahoo! Mail Beta.http://us.rd.yahoo.com/evt=49982/*http:/advision.webevents.yahoo.com/mailbeta/newmail_tools.html Got a little couch potato? Check out fun summer activities for kids.http://us.rd.yahoo.com/evt=48248/*http:/search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions)
Bob Arnson wrote: W. Craig Trader wrote: I have a legacy .Net 2.0 application (C# plus some C++ COM controls) that is currently deployed using a Visual Studio 2005 Setup project. The Setup project uses a Custom Action written in C# (a subclass of System.Configuration.Install.Installer) to install or upgrade a SQL Server MSDE database (with backup and rollbacks) depending upon version information in a table in the database. Can you use the WiX SQL custom actions? Bob, thanks for the interest. In short: Not without modifying a LOT of SQL script, and even then it may not work. In long: I have a set of scripts that get modified and added to over time. One script (generated) will create a new database and populate it from scratch. The other scripts have version and sequence numbers, and are used to upgrade any given database schema and data to the current schema. Currently my C# custom action class checks to see if the database exists: if not, it runs the create-populate script, otherwise it (1) backs up the database, (2) checks the database schema version, and (3) runs all of the scripts that are more recent than the database schema version. If there are any problems, it fails the installation and rolls back. During the rollback it will restore the database from the backup. This will leave the database and application in a known-good state. In looking over the WiX SqlExtension, it appears that I'd have to turn all of those scripts into one large script with a bunch of logic added. This is complicated by the fact that the bulk of the SQL scripts are machine generated (from multiple sources), with lots of short transactions. Trying to pack all of that into a single 25,000 line script would be ... interesting. To make matters worse, it appears (from the WiX Wiki) that the SqlExtension is broken for creating databases (http://www.wixwiki.com/index.php?title=SqlExtension), something that I need. At this point it looks like the best thing to do will be to keep my existing custom action, and execute the InstallUtil.exe program for installs, upgrades, and rollbacks, so I'm looking for examples that do that. Any pointers? - Craig - - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions)
John Vottero wrote: It would be very easy to write a console app that calls the C# Installer based code. Once you have that, use the WiX CAQuietExec custom action to run the console app. *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *W. Craig Trader *Sent:* Wednesday, July 11, 2007 8:50 PM *To:* wix-users@lists.sourceforge.net *Subject:* [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions) Help! I have a legacy .Net 2.0 application (C# plus some C++ COM controls) that is currently deployed using a Visual Studio 2005 Setup project. The Setup project uses a Custom Action written in C# (a subclass of System.Configuration.Install.Installer) to install or upgrade a SQL Server MSDE database (with backup and rollbacks) depending upon version information in a table in the database. This works fine, but the Setup project is fairly painful to maintain, and it can't be built unless Visual Studio 2005 is installed on the build server. We'd like the convert the whole thing to use WiX 3.0, but I'm having trouble figuring out how to describe my Custom Action via WiX. I've tried the WiX documentation, but everything still refers to WiX 2.0, and only recommends C++ for Custom Actions. I've tried the WiX Wiki, but again, everything refers to using C/C++ for implementing custom actions. I've read Rob's blog where he says that using Managed Code for Custom Actions is a Bad Thing and will not be supported. While I'm sure that one answer would be to go through and implement all of the database-specific logic in Transact-SQL that would be a time-consuming project, given that the existing scripts are 13,500 lines (creating a database) and 11,500 lines (upgrading existing databases) and growing, and I'm not at all sure that the backup / rollback would work with a SqlExtension (which the Wiki states shouldn't be used for creating databases). Another answer would be to incorporate all of the database creation / upgrade logic into the application, but that has its own problems too -- I'd pretty much have to create an application launcher that was responsible for upgrading the database and then launching the application (or dying if the upgrade fails). A third answer would be to launch my custom C# DLL with msiexec, but I haven't found any examples that describe how to do this. The best answer for me is one where I don't have to rewrite a bunch of code that already works, but still allow me to use the WiX toolset going forward. Any recommendations? - Craig - John, thanks for the interest. I'm thinking that I need to use the InstallUtil.exe console-app to run my code (since the code expects to be run that way for the old VS Setup project). Do you have any explicit examples (or pointers to examples) of how to use the QAQuietExec custom action? I'm still pretty new to WiX... - Craig - - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions)
-Original Message- From: W. Craig Trader [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 12:36 PM To: John Vottero Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions) John Vottero wrote: It would be very easy to write a console app that calls the C# Installer based code. Once you have that, use the WiX CAQuietExec custom action to run the console app. [snip] I'm thinking that I need to use the InstallUtil.exe console-app to run my code (since the code expects to be run that way for the old VS Setup project). Do you have any explicit examples (or pointers to examples) of how to use the QAQuietExec custom action? I'm still pretty new to WiX... It's basically a two step process, set a property with the value of the command line like this: CustomAction Id=SetCreateDB Property=CreateDB Value=quot;[#JAMSDBAEXE]quot; INSTALL/UI=[UILevel]/ And then execute that command line with CAQuietExec like this: CustomAction Id=CreateDB BinaryKey=wixca DllEntry=CAQuietExec Execute=deferred Impersonate=yes Return=check/ You'll also have to schedule those two custom actions in the InstallExecuteSequence The hard part is getting the Value right in the first step. [#JAMSDBAEXE] resolves to the full path of an executable that we just installed. I'm not sure how you get the full path to InstallUtil, I think with FileSearch. Also, you've mentioned rolling back if the DB update fails, I'm not sure if that's going to work or not. We treat DB updates as something that happens *after* the installation. If our DB update fails, the DB updates rollback but, the product install doesn't. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Progress pictures available ?
You want a Billboard element. -- Mike Dimmick _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joachim Back Sent: 12 July 2007 14:30 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Progress pictures available ? Hi, I just wonder if it is possible to not only show a progress bar and action text but also show various pictures to the user while he is waiting for the install to finish? I'd like to show him every 10 seconds a new picture. Either as a background splash screen or inside the progress dialog. Depends what is easier. My current progress bar shows a bar and some text, but no pictures. ?xml version=1.0 encoding=UTF-8? !-- Copyright (c) Microsoft Corporation. All rights reserved. -- Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Fragment Id=SetupProgress UI Dialog Id=SetupProgress Width=439 Height=348 Title=[ProductName] Modeless=yes [.] Control Id=ActionText Type=Text X=134 Y=100 Width=275 Height=12 Subscribe Event=ActionText Attribute=Text / /Control Control Id=ActionProgress95 Type=ProgressBar X=134 Y=113 Width=275 Height=12 ProgressBlocks=yes Text=Progress done Subscribe Event=InstallFiles Attribute=Progress / Subscribe Event=MoveFiles Attribute=Progress / Subscribe Event=RemoveFiles Attribute=Progress / Subscribe Event=RemoveRegistryValues Attribute=Progress / Subscribe Event=WriteIniValues Attribute=Progress / Subscribe Event=WriteRegistryValues Attribute=Progress / Subscribe Event=UnmoveFiles Attribute=Progress / Subscribe Event=AdminInstallFinalize Attribute=Progress / Subscribe Event=SetProgress Attribute=Progress / /Control Control Id=Banner Type=Bitmap X=0 Y=44 Width=113 Height=260 FixedSize=yes Text=BannerBitmap / Control Id=BannerLine Type=Line X=113 Y=316 Width=326 Height=0 / Control Id=DlgLine Type=Line X=0 Y=44 Width=439 Height=0 / [.] /Dialog /UI /Fragment /Wix Regards, Joachim Back - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to write a text file using WIX
I did something similar by writing a custom action. I was planning to clean it up and post it on my website as a simple example. I haven't had time, but that is the way to go about it. Julie Campbell [EMAIL PROTECTED] -Original Message- Message: 4 Date: Wed, 11 Jul 2007 19:59:34 -0700 From: Bob Arnson [EMAIL PROTECTED] Subject: Re: [WiX-users] How to write a text file using WIX To: srinivas nomu [EMAIL PROTECTED] Cc: wix-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed srinivas nomu wrote: I want to get the CD-Key input from the user and write into a License.dat file, which is actually a text file. How should I do with WIX. Any examples?. The only MSI support for writing to text files is via the IniFile table. _ Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www.ers.ibm.com _ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] UILevel
Is there a property within the Wix I can set conditionally (dependent upon a registry key) whether or not to display a UI? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions)
-Original Message- From: John Vottero [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 1:15 PM To: W. Craig Trader Cc: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions) -Original Message- From: W. Craig Trader [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 12:36 PM To: John Vottero Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Converting Setup project to WiX 3.0 project (Custom Actions) John Vottero wrote: It would be very easy to write a console app that calls the C# Installer based code. Once you have that, use the WiX CAQuietExec custom action to run the console app. [snip] I'm thinking that I need to use the InstallUtil.exe console-app to run my code (since the code expects to be run that way for the old VS Setup project). Do you have any explicit examples (or pointers to examples) of how to use the QAQuietExec custom action? I'm still pretty new to WiX... It's basically a two step process, set a property with the value of the command line like this: CustomAction Id=SetCreateDB Property=CreateDB Value=quot;[#JAMSDBAEXE]quot; INSTALL/UI=[UILevel]/ And then execute that command line with CAQuietExec like this: CustomAction Id=CreateDB BinaryKey=wixca DllEntry=CAQuietExec Execute=deferred Impersonate=yes Return=check/ You'll also have to schedule those two custom actions in the InstallExecuteSequence The hard part is getting the Value right in the first step. [#JAMSDBAEXE] resolves to the full path of an executable that we just installed. I'm not sure how you get the full path to InstallUtil, I think with FileSearch. The closest example I've found (http://www.dalun.com/wix/12.07.2006.htm) looks like this: Directory Id='SourceDir' Name='SourceDir' Directory Id='ProgramFilesFolder' Name='PFDir' Directory Id='TestDir' Name='TestDir' LongName='Test Program' Component Id='MyComponent' Guid='12345678-1234-1234-1234-123456789012' File Id='tryInstall' Name=try LongName='tryInstall.exe' DiskId='1' src='tryInstall.exe' / /Component /Directory /Directory /Directory InstallExecuteSequence Custom Action='ManagedInstall' After=InstallFinalize / /InstallExecuteSequence CustomAction Id=ManagedInstall Directory='TestDir' ExeCommand='[WindowsFolder]\Microsoft.NET\Framework\v2.0.50727\InstallU til.exe /LogToConsole=false tryInstall.exe' Return='check' /CustomAction This is (apparently) the equivalent of the following: cd C:\Program Files\TestDir C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe /LogToConsole=false tryInstall.exe Also, you've mentioned rolling back if the DB update fails, I'm not sure if that's going to work or not. We treat DB updates as something that happens *after* the installation. If our DB update fails, the DB updates rollback but, the product install doesn't. In our case there's a small but finite chance that the database upgrade may fail. It's much better for our installation to rollback completely (leaving the old version of the app and all the old data in the old database schema) than to leave a mix (new software, old database schema) because the new software is incompatible with the old database schema. Upgrades have to be done manually at remote locations. - Craig - - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] how to spawn tomcat installer from the installer I am building?
Hi All, I am new to WIX. I am sure this is answered before. But I couldn't find in the archives. I want to call the Tomcat and PostgreSQL installer before installation of my application. How do I achieve this in WIX. Any help is highly appreciated. Thanks Krishna - Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users