Re: [WiX-users] does wix have a dependency on mfc80loc.dll?
You probably create a custom action and the custom action has that requirement, you could change the project settings to Use MFC in a Static Library that way the dll is a bit bigger but the dependecy disappears. Hope it helps, Ricardo Lopes. On 07/05/07, Rennie Petersen [EMAIL PROTECTED] wrote: There are programs available that can analyze DLL dependencies, for example this one: http://www.dependencywalker.com/ Rennie -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Cathryn Chamley *Sent:* 7. maj 2007 00:24 *To:* wix-users@lists.sourceforge.net *Subject:* [WiX-users] does wix have a dependency on mfc80loc.dll? I'm writing a wix-based installer to replace our current (home-grown) installation solution. I've got the functionality I want, but I seem to have picked up a requirement for mfc80loc.dll. That is, if I install using the old install scripts, our software runs fine. If I install using the WiX authored installer, MFC apps fail to run, and the event log shows errors that start with a missing mfc80loc.dll. My googling of this dll leads me to believe it shouldn't be required for our situation - ie: we only expect to install to English language Windows boxen. (If this sounds draconian, please consider that at present we're installing to a very limited number of clients, and we know their situation very precisely). Is there a known issue about this? Is it possible that WiX is modifying my system's locale information? If this is the case, it may be driven by my own naive use of WiX. I specify a language attribute in the Product. Is there any other locale information I need to specify to install to an US/English box? Thanks in advance for any help you can give. Send instant messages to your online friends http://au.messenger.yahoo.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 -- Ricardo Lopes - 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] Are there any size restrictions?
Hi, The size restriction for the MSI should be the same that for the Operative System, i think there is a limit around 4 GB, but it seems that windows doesn't handle well file over 2 GB because many applications split files about this size. I did a test with a real life installer i had over here, and add it a cd image (arround 500 MB) and the msi was created and started without problems or errors (but was slow...). It test it on a VM with Windows XP SP2 + .Net2 + MSI3.0 (the base project i use to the installer depends on .net2 so i couldn't test it on a vm without .net or a lower version of MSI without having to create a new project. It appears that others had a similar error, i found thi son google, looks like the same problem you have: http://community.installshield.com/showthread.php?t=138695goto=nextnewest I would suggest you updating to the MSI 3 and test is everything is ok. Good Luck. On 27/04/07, Thomas B [EMAIL PROTECTED] wrote: Does MSI packages have any size restriction? On one of our Virtual boxes our installer refuses to run if I add another 50 Mb .data file to the MSI package making it 140Mb instead of 90. It just gives a (loosely translated) Cannot open the installationpackage. Contact the distributor to confirm this is a valid Windows Installer package. This happens on the VM with a clean WinXP SP2 install (no .NET 2.0 etc). I first thought it was the mergemodules since removing them fixed it, but i later found removing any of the larger (30+ Meg files) made it run (taking the MSI package down to around 100 Mb instead of upto 140ish). Does Windows Installer version matter for this maybe? -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 -- Ricardo Lopes - 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] MSI uninstall OR update previous application version if exists
Hi, I have some questions about how should i manage new application versions on the installer, if anyone could help i would really appreciate it: - How does install works, i see i have the product GUID, the Version and the UpgradeCode, how does the installer manages those attributes ? - How do i know if the user had the application installed and is upgrading or reinstalling the same version ? (i want to be able to backup and restore some files if that is the case) - Is the previous version automatically uninstalled before installing a new version, are the files that changed replaced, the new files overwrite the old ones? Thanks, Ricardo Lopes. - 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] Conditional registry key using CheckBox control
Hi, I tried several ways and can't set a registry key only when the user checks a checkbox. I Create a component with a condition that checks a property (initialy set to 1 to make the checkbox control checked by default), however it seems that the property value is not set by the control and i have the Property attribute set for that control. The dialog is show just before the VerifyReadyDlg the dialog sequence is the same as the WixUI_InstallDir except for that extra dialog that has some checkboxes to conditioning some aspects of installation (this was the first i tried to get working, so the other do nothing for now..) Here is the relevant part of my wix file: Component Id=StartApplicationWithWindowsStartupComponent Guid=... Condition![CDATA[StartAppWithWindows = 1]]/Condition Registry Root=HKLM Key=SOFTWARE\Microsoft\Windows\CurrentVersion\Run Name=App Action=write Type=string RegistryValue[INSTALLLOCATION]App.exe -startup/RegistryValue /Registry /Component ... Property Id=StartAppWithWindows![CDATA[1]]/Property Dialog Id=BeforeVerifyReadyDlg Width=370 Height=270 Title=$( loc.CustomizeDlg_Title) Control Id=StartAppWithWindowsCheckBox CheckBoxValue=1 Type=CheckBox Text=Start app on windows startup Width=300 Height=30 X=30 Y=60 Property=StartAppWithWindows / I tried to get this to work like the way is show on a mailing post that shows how to create a conditional shortcut but doesn't work well in all situations. Help is really appreciated. Thanks. Ricardo Lopes - 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] Conditional registry key using CheckBox control
Thanks, It worked fine. I didn't use the ALLCAPS version because i like camel-casing, has better readability. I notice many properties are in allcaps, is a limitation of MSI ? If so i think it should be verified on the schema and warm or force the user to change it to allcaps. Many thanks. Ricardo Lopes. On 20/04/07, Brett Kapilik [EMAIL PROTECTED] wrote: Try making the property public (ALLCAPS): Control Id=StartAppWithWindowsCheckBox CheckBoxValue=1 Type=CheckBox Text=Start app on windows startup Width=300 Height=30 X=30 Y=60 Property=STARTAPPWITHWINDOWS / Then reference it in the component condition as the all-uppercase property name. - Brett -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ricardo Lopes *Sent:* Friday, April 20, 2007 10:27 AM *To:* wix-users@lists.sourceforge.net *Subject:* [WiX-users] Conditional registry key using CheckBox control Hi, I tried several ways and can't set a registry key only when the user checks a checkbox. I Create a component with a condition that checks a property (initialy set to 1 to make the checkbox control checked by default), however it seems that the property value is not set by the control and i have the Property attribute set for that control. The dialog is show just before the VerifyReadyDlg the dialog sequence is the same as the WixUI_InstallDir except for that extra dialog that has some checkboxes to conditioning some aspects of installation (this was the first i tried to get working, so the other do nothing for now..) Here is the relevant part of my wix file: Component Id=StartApplicationWithWindowsStartupComponent Guid=... Condition![CDATA[StartAppWithWindows = 1]]/Condition Registry Root=HKLM Key=SOFTWARE\Microsoft\Windows\CurrentVersion\Run Name=App Action=write Type=string RegistryValue[INSTALLLOCATION]App.exe -startup/RegistryValue /Registry /Component ... Property Id=StartAppWithWindows![CDATA[1]]/Property Dialog Id=BeforeVerifyReadyDlg Width=370 Height=270 Title=$( loc.CustomizeDlg_Title) Control Id=StartAppWithWindowsCheckBox CheckBoxValue=1 Type=CheckBox Text=Start app on windows startup Width=300 Height=30 X=30 Y=60 Property=StartAppWithWindows / I tried to get this to work like the way is show on a mailing post that shows how to create a conditional shortcut but doesn't work well in all situations. Help is really appreciated. Thanks. Ricardo Lopes - 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] Conditional registry key using CheckBox control : Why CDATA?
No special reason, was just trying ;-) Is the same to use: Condition![CDATA[StartAppWithWindows = 1]]/Condition or ConditionStartAppWithWindows = 1/Condition Ricardo Lopes. On 20/04/07, Anthony Wieser [EMAIL PROTECTED] wrote: Why in so many examples is this written: Condition![CDATA[StartAppWithWindows = 1]]/Condition I thought CDATA was only required for when XML reserved items were included, like , , and . Am I missing something, or is it just mystically copied around? Anthony Wieser Wieser Software Ltd - 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 -- Ricardo Lopes - 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] SPAM: Re: Remove slash from the end of directory property
Nice tip, thanks it worked fine :-) On 20/03/07, Hugues Valois [EMAIL PROTECTED] wrote: You may want to try adding a '.' instead of removing the '\'. That doesn't require a custom action and attrib should like it. Value='[SystemFolder]attrib.exe +S +H [DocumentsFolder]. Hugues -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett Sent: Tuesday, March 20, 2007 6:51 AM To: wix-users@lists.sourceforge.net Subject: SPAM: Re: [WiX-users] Remove slash from the end of directory property No, you need a Custom Action. Rob Ricardo Lopes wrote: Hi, Is there any simple way to remove the slash at the end of a directory property, or remove the last character from a property value? I'm trying to change attributes for a folder using a custom action at the end of the installation but the attrib command from windows doesn't like the slash at the end of the directory property. Here is a sample of my code: ... CreateFolder Directory=DocumentsFolder / ... CustomAction Id=SetQtExecCmdLine Return=check Property=QtExecCmdLine Value='[SystemFolder]attrib.exe +S +H [DocumentsFolder]' / CustomAction Id=QtExec BinaryKey=wixca DllEntry=CAQuietExec Execute=immediate Return=check / Binary Id=wixca src=$(var.ResourcesDir)\wixca.dll / InstallExecuteSequence Custom Action=SetQtExecCmdLine After=CostFinalize / Custom Action=QtExec After=InstallFinalize/ /InstallExecuteSequence The [DocumentsFolder] is replaced by c:\some\path\, with a \ in the end. Thanks, Ricardo Lopes. - 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.phpp=sourceforgeCID=DEVDE V ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE V ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Bootstrapping to install .net 2.0-sample and best practices?
Hi, i use the GenerateBootstrapper task from msbuild to create a bootstrapper but it doesn't do what you want to do, for that you have to create your own bootstrapper. However if you want to give it a try here you have an example: ItemGroup BootstrapperFile Include=Microsoft.Net.Framework.2.0 ProductName.NET Framework 2.0/ProductName /BootstrapperFile BootstrapperFile Include=Microsoft.Windows.Installer.3.1 ProductNameWindows Installer 3.1/ProductName /BootstrapperFile BootstrapperFile Include=Microsoft.JSharp.2.0 ProductNameVisual J# redistributable/ProductName /BootstrapperFile BootstrapperFile Include=Microsoft.Sql.Server.Express.1.0 ProductNameSQL Server 2005 Express Edition/ProductName /BootstrapperFile /ItemGroup Target Name=Bootstrapper GenerateBootstrapper ApplicationFile=app.msi ApplicationName=My app BootstrapperItems=@(BootstrapperFile) OutputPath=bin ComponentsLocation=Relative Culture=pt-PT Path=$(BootstrapperPath) / /Target In this example the bootstrapper includes the MSI 3.1, net2.0, j# and SQLExpress. The property BootstrapperPath indicates the path to the bootstrapper required files, default is: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper, however i use a local copy for the cruise control server. Hope it helps. On 20/03/07, Chris Bardon [EMAIL PROTECTED] wrote: I have some applications that depend on .net 2.0 being installed, and I have an idea of how I'd like to have things work. A setup file, deployed from an intranet site will check for the prerequisites, and then once they are installed/verified, download and run my MSI with the command line switches that I specify (if, for example, I want to pass some property values in on the command line). I understand that visual studio has a bootstrapper included that should help with this, but I can't seem to find anything that really talks about how to use it with your own MSI package. Is there a sample out there of how to use the VS bootstrapper? - 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.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Variable inside property value not resolved
Hi, I'm using a quit execution custom action to hide a folder at the end of the installation, the folder is created by the installation. The installation doesn't fail but the folder attributes remain intact. And on the msi log i can see the variable inside the [ ] is not resolved and i guess it should. Here is the relevant part of my wix file: Property Id=QtExecCmdLine Value='c:\windows\system32\attrib.exe +S +H [DocumentsFolder]' / CustomAction Id=QtExec BinaryKey=wixca DllEntry=CAQuietExec Execute=immediate Return=check / Binary Id=wixca src=wixca.dll / InstallExecuteSequence Custom Action=QtExec After=InstallValidate / /InstallExecuteSequence --- Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Use Wix variable inside inline custom action in vbscript
Hi, I want to call a custom action when the installation finishes and use a variable value from the script. However the variable value is not replaced inside the script. The code is something like this: Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=INSTALLLOCATION Name=StuffFolder . . /Directory /Directory /Directory CustomAction Id=DoStuff Script=vbscript Return=check Execute=commit MsgBox Install Location is: [INSTALLLOCATION] /CustomAction InstallExecuteSequence Custom Action='DoStuff' Before='InstallFinalize'NOT Installed/Custom /InstallExecuteSequence Thanks, Ricardo Lopes. - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Getting install folder after install was done
Hi, Is there any way of getting the location were the application was installed after the msi finishes, is it stored on the registry or any other way? I guess the msi stores this somewhere, so it can know if it has to do an install or can do a repair / remove. I know i can easily store this on the registry manually on the installer on a registry key of my choice, but what is the point if this is already done, right? Thanks. Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Getting install folder after install was done
Thanks, For some strange reason this value is empty, but the other values like DisplayName, Publisher, etc. are ok. This also happends on some other applications i have installed. Any ideas? Ricardo Lopes. On 01/03/07, Julien R. [EMAIL PROTECTED] wrote: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\ProductID InstallLocation value Ricardo Lopes-3 wrote: Hi, Is there any way of getting the location were the application was installed after the msi finishes, is it stored on the registry or any other way? I guess the msi stores this somewhere, so it can know if it has to do an install or can do a repair / remove. I know i can easily store this on the registry manually on the installer on a registry key of my choice, but what is the point if this is already done, right? Thanks. Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/Getting-install-folder-after-install-was-done-tf3326137.html#a9248558 Sent from the wix-users mailing list archive at Nabble.com. - 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.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Setting attributes to folder
Hi, Is it possible to set attributes (read-only, hidden, system) to a folder the same way they are applied to a file on Wix2. I look at the Wix Schema and didn't find anything on the Directory Element. Thanks. Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setting attributes to folder
I want a folder to be hidden to prevent stupid users from doing stupid things like deleting files ;-) I bet i can find dozens of folders with the attributes set on your computer. On 01/03/07, Rob Mensching [EMAIL PROTECTED] wrote: Why do you want to do something like that? *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ricardo Lopes *Sent:* Thursday, March 01, 2007 4:57 AM *To:* wix-users@lists.sourceforge.net *Subject:* [WiX-users] Setting attributes to folder Hi, Is it possible to set attributes (read-only, hidden, system) to a folder the same way they are applied to a file on Wix2. I look at the Wix Schema and didn't find anything on the Directory Element. Thanks. Ricardo Lopes -- Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Wix2.0 change dialog bitmaps and license (override default location)
Hi, I want to include custom bitmaps and license file but i don't want to put the bitmaps inside the Bitmap folder, i want to put then in a location of my choice and specify that location somehow, like it seems to be on Wix3. I can't use Wix3 for now, is it possible to do this on Wix2 ? Thanks, Ricardo Lopes. - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Wix2.0 change dialog bitmaps and license (override default location)
Thanks, have to wait then. On 28/02/07, Bob Arnson [EMAIL PROTECTED] wrote: Ricardo Lopes wrote: I want to include custom bitmaps and license file but i don't want to put the bitmaps inside the Bitmap folder, i want to put then in a location of my choice and specify that location somehow, like it seems to be on Wix3. I can't use Wix3 for now, is it possible to do this on Wix2 ? No, that was a feature enabled by the WiX v3 architecture. -- 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Prevent MSI to be invoked directly
That is what i was thinking, do you know if the bootstrapper generated by the msbuild GenerateBootstrapper task passes some property to the msi ? Thanks. On 21/02/07, Rob Hamflett [EMAIL PROTECTED] wrote: It's possible to include an MSI with an executable as a resource. The program would then need to extract the MSI before running it. A simpler and quicker solution is to add a new property to the MSI call. When your bootstrapper calls the MSI, pass a property like STARTEDFROMBOOTSTRAPPER=1, and have a launch condition on the MSI that throws an error if STARTEDFROMBOOTSTRAPPER 1. Rob Ricardo Lopes wrote: Hi, I made a MSI installer using Wix and a bootstrapper using the msbuild GenerateBootstrapper task, it creates a setup.exe and a msi file, but the msi can be invoke directly overcoming the checks made by the bootstrapper and there are checks on the bootstrapper that are difficult to include as conditions to prevent the installer from running. Is there any way to do any of this : - avoid the msi from unless is started by the bootstrapper (some kind of condition) - merge the bootstrapper and the msi in only one file and start the setup.exe when the merged file is started. - any other suggestion ? I tried to change the extension of the msi to .dat and start that file from the setup.exe but it doesn't work as i expected. Thanks, Ricardo Lopes. - 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.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Prevent MSI to be invoked directly
[John] I didn't know about the IExpress, looks nice, shouldn't be a problem to automate the process in my build server using the SED file. [Dan] that was more what i was thinking, do you know how can i pass a param to the installer using the msbuild GenerateBootstrapper task? i tried to use msifile.msi DIRECTEXECUTE=1 on the ApplicationFile but it throws an error when launching the msi, he thinks the params are part of the filename. Any ideas ? [Dan] Are the REMOVE, REINSTALL, PATCH conditions there to allow calling from the control panel add/remove programs? Thanks. On 21/02/07, Dan Hoeger [EMAIL PROTECTED] wrote: Here is what we use: Condition Message=Installation may not be executed directly. Please run Setup.exe in root folder of installation diskDIRECTEXECUTE = 1 OR REMOVE = ALL OR REINSTALL=ALL OR PATCH OR MSIPATCHREMOVE/Condition Then from your bootstrapper you need to add DIRECTEXECUTE=1 to the command line Thanks, Dan *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *John Vottero *Sent:* Wednesday, February 21, 2007 9:03 AM *To:* Ricardo Lopes; wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] Prevent MSI to be invoked directly We use Wix and the MSBuild GenerateBootstrapper too. We use IExpress.exeto to combine everything into a single executable. IExpress is part of IE so, you probably already have it. -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Ricardo Lopes *Sent:* Wednesday, February 21, 2007 5:00 AM *To:* wix-users@lists.sourceforge.net *Subject:* [WiX-users] Prevent MSI to be invoked directly Hi, I made a MSI installer using Wix and a bootstrapper using the msbuild GenerateBootstrapper task, it creates a setup.exe and a msi file, but the msi can be invoke directly overcoming the checks made by the bootstrapper and there are checks on the bootstrapper that are difficult to include as conditions to prevent the installer from running. Is there any way to do any of this : - avoid the msi from unless is started by the bootstrapper (some kind of condition) - merge the bootstrapper and the msi in only one file and start the setup.exe when the merged file is started. - any other suggestion ? I tried to change the extension of the msi to .dat and start that file from the setup.exe but it doesn't work as i expected. Thanks, Ricardo Lopes. -- Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Nested folders
Hi Stefan, I suppose that was the case with the App\Documents folder, but what about the App\Backups ? It has files and is part of the feature ProductFeature. On 19/02/07, Stefan Pavlik [EMAIL PROTECTED] wrote: Hi Ricardo... The folder is not created unless you install some file in this folder. Another way to ensure that the folder is created is using the CreateFolder element. Te folder will be created even if it is empty. But it will not be removed automaticaly on uninstallation (you need to specify RemoveFolder element for it). See: http://msdn2.microsoft.com/en-us/library/Aa368053 Regards Stefan Ricardo Lopes wrote: Hi, I have problems creating folders on the instalation folder. The application folder is created but none of the folder inside it are created. Im using Wix 2 and my file looks like this: Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=INSTALLLOCATION Name=App Directory Id=DocumentsFolder Name=Docs LongName=Documents / Component Id=MainApplicationFilesComponent Guid=7e032c07-d8a2-4cc1-870b-2fc1a88ab6ef File / File / File / /Component /Directory /Directory Directory Id=ProgramMenuFolder Directory Id=ProgramMenuDir Name=App / /Directory Directory Id=DesktopFolder / /Directory DirectoryRef Id=INSTALLLOCATION Directory Id=BackupsFolder Name=Backups Component Id=BackupFilesComponent Guid=7e032c07-d0a2-47c1-810b-2fc1a88ab6ef File / File / File / /Component /Directory /DirectoryRef Feature Id=ProductFeature Title=App Files Level=1 ComponentRef Id=MainApplicationFilesComponent / ComponentRef Id=BackupFilesComponent / /Feature The App folder is created, but the Documents and the Backups folders not. Am i missing something? Thanks, Ricardo Lopes. - 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.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103 Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512 -- Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Nested folders
I found out the problem. After looking carefully at the log file i found out that the file were been copied to the windows fonts folder, because the directory id was FontsFolder and the value was overridden by the MSI. After changing the id to something else it worked fine. Thanks. On 19/02/07, André Pönitz [EMAIL PROTECTED] wrote: Ricardo Lopes wrote: I don't know why it install one component and not the other (at least i can't find it) if they belong to the same feature (and only one). You could have a look at the installation log (i.e. the file log.txt produced by running 'msiexec /l*v log.txt /i yourinstaller.msi' Andre' - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Ricardo Lopes - 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.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users