|
|
Comments and Discussions
|
|
 |

|
hi,
I'm trying to use a licence agreement control (with default setup) and while linking a setup I get error: ERROR: Error writing RES_LICENSE: The parametr is incorrect
and my setup.exe doesn't work
Error MessageBox:
0x80070716 - Invalid CUSTOM resource: RES_LICENCE: The specified resource name cannot be found in the image file.'
I have no clue how to handle that
|
|
|
|
|

|
Hi there, is it possible to configure to setup.exe to install without downloading all the msi and exe onto the user's temp directory?
|
|
|
|

|
Yes, you can package the setup files with the boostrapper in a single executable. Please get the latest release from codeplex: http://dotnetinstaller.codeplex.com
|
|
|
|
|
|

|
Our product installation depends on MSI version 3.1 or higher.
It was all working well until XP Sp3 was released.
XPSp3 upgraded the MSI binaries to effectively 3.1+, but did NOT change the major or minor MSI version numbers (as avaible on the platform.)
For example, on one XP Sp3 test machine just now msiexec identifies itself as Windows ® Installer. V 3.01.4001.5512.
At the same time running the Windows Installer KB893803 install media results in that media identifying the MSI version as being newer to begin with.
Has anyone else run into this or can someone suggest a way around this.
Thanks!
|
|
|
|

|
Did you ever get a reply to this ?
|
|
|
|

|
Can you have some files downloading and some files embedded? 1.5 isn't working for me at the moment when I try that... (maybe I should try and write a patch for that for 1.6?)
|
|
|
|

|
Yes, should work. Each component has a specific configuration.
Can you try to show me your configuration file?
Davide
|
|
|
|

|
Not a problem. It's just long... [To get it to display, I changed all the less than and greater than signs to their HTML entities when writing the message.
The error I'm getting is that it can't find the Win2K SP4 file to embed - and it shouldn't embed that one!
Also, just thought of a good idea (and maybe it does this already) - if the installer could pass command line parameters to a .exe or .msi at the end?
(My program runs under Win2K SP4, Windows XP and Vista (no SP required) and Windows Server 2003 and 2008, and I require MDAC 2.8, Jet 4.0 SP8 plus patches where required, and the installation requires Windows Installer 3.0 or greater [3.1 with v2 patch is installed if needed.] I want it to download everything but my program's MSI, and I want it to embed that. Maybe you'll want to use some of these in the wizards! Any questions, ask me!)
Thanks for your help!
----- Response file for InstallerLinker
"/Output:Rehab Package Web Setup.exe"
"/Template:dotNetInstaller.exe"
"/Banner:RP Setup Banner.bmp"
"/Icon:RP Setup Icon.ico"
"/Configuration:Rehab Package Web Install.xml"
/Embed+
/Verbose+
----- End response file
----- Rehab Package Web Install.xml
<?xml version="1.0" encoding="utf-8"?>
<configurations silent_install="False" fileversion="0.40.700.0" productversion="0.40">
<schema version="1" />
<fileattributes />
<configuration type="install" lcid="" dialog_caption="Rehab Package Installer" dialog_message="In order to install Rehab Package you must first install these components:" dialog_bitmap="#APPPATH\banner.bmp" skip_caption="Skip" install_caption="Install" cancel_caption="Close" status_installed=" (Installed)" status_notinstalled="" failed_exec_command_continue="Failed to install %s. Continue with other components?" installation_completed="Rehab Package 0.40 installed successfully!" installing_component_wait="Installing %s . Wait, this operation could take some time ..." reboot_required="To continue the installation you must restart your computer. Restart now?" advanced_caption="Advanced" dialog_selector_cancel="Cancel" dialog_selector_caption="Components List" dialog_selector_message="Select the components to install." dialog_selector_ok="OK" dialog_otherinfo_caption="" dialog_otherinfo_link="" complete_command="" complete_command_silent="" auto_close_if_installed="True" os_filter_greater="44" os_filter_smaller="" os_filter_not_match_message="This setup cannot run under the current operating system!" processor_architecture_filter="" processor_architecture_filter_not_match_message="This setup cannot run on the current processor!" cab_dialog_message="%s" cab_cancelled_message="" cab_dialog_caption="" cab_path="#TEMPPATH\#GUID" cab_path_autodelete="True" log_enabled="True" log_file="#TEMPPATH\Rehab Package - dotNetInstallerLog.txt">
<components>
<component os_filter_greater="44" os_filter_smaller="64" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Windows 2000 Service Pack 4 English" note="English - WebSetup - Windows 2000 Sp4 Full" processor_architecture_filter="" command=""#TEMPPATH\Win2000Sp4\W2KSP4_EN.EXE"">
<downloaddialog dialog_caption="Windows 2000 Service Pack 4 English - Download Components" dialog_message="Press 'Start' to download the required components for installing Windows 2000 Service Pack 4 English." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Windows 2000 Service Pack 4 English" sourceurl="http://download.microsoft.com/download/e/6/a/e6a04295-d2a8-40d0-a0c5-241bfecd095e/W2KSP4_EN.EXE" destinationpath="#TEMPPATH\Win2000Sp4" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<embedfiles />
</component>
<component os_filter_greater="14" os_filter_smaller="81" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft Data Access Components 2.8" note="English - WebSetup - MDAC 2.8 for Win98, ME, NT4, 2000 and XP. Quit mode." processor_architecture_filter="" command=""#TEMPPATH\MDAC28\MDAC_TYP.EXE" /q:a /c:"dasetup.exe /q"">
<downloaddialog dialog_caption="Microsoft Data Access Components 2.8 - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Data Access Components 2.8." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Data Access Components 2.8" sourceurl="http://download.microsoft.com/download/c/d/f/cdfd58f1-3973-4c51-8851-49ae3777586f/MDAC_TYP.EXE" destinationpath="#TEMPPATH\MDAC28" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_registry_value" path="SOFTWARE\Microsoft\DataAccess" fieldname="Version" fieldvalue="2.80.0.0" fieldtype="REG_SZ" comparison="version" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" />
<embedfiles />
</component>
<component os_filter_greater="44" os_filter_smaller="66" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft JET 4.0 Sp8" note="English - WebSetup - Jet 4.0 Sp8 for 2000" processor_architecture_filter="" command=""#TEMPPATH\JET4Sp8\Windows2000-KB829558-x86-ENU.exe" /quiet">
<downloaddialog dialog_caption="Microsoft JET 4.0 Sp8 - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft JET 4.0 Sp8." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft JET 4.0 Sp8" sourceurl="http://download.microsoft.com/download/9/d/c/9dcd9e1c-badc-4fe4-a52e-8f2fdfb652db/Windows2000-KB829558-x86-ENU.exe" destinationpath="#TEMPPATH\JET4Sp8" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\Msjet40.dll" fileversion="4.0.8015.0" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="89" os_filter_smaller="91" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft JET 4.0 Sp8" note="English - WebSetup - Jet 4.0 Sp8 for Server2003" processor_architecture_filter="" command=""#TEMPPATH\JET4Sp8\WindowsServer2003-KB829558-x86-ENU.exe" /quiet">
<downloaddialog dialog_caption="Microsoft JET 4.0 Sp8 - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft JET 4.0 Sp8." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft JET 4.0 Sp8" sourceurl="http://download.microsoft.com/download/a/a/c/aacdba68-214d-484c-b8ac-164fe7261668/WindowsServer2003-KB829558-x86-ENU.exe" destinationpath="#TEMPPATH\JET4Sp8" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\Msjet40.dll" fileversion="4.0.8015.0" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="74" os_filter_smaller="83" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft JET 4.0 Sp8" note="English - WebSetup - Jet 4.0 Sp8 for XP" processor_architecture_filter="" command=""#TEMPPATH\JET4Sp8\WindowsXP-KB829558-x86-ENU.exe" /quiet">
<downloaddialog dialog_caption="Microsoft JET 4.0 Sp8 - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft JET 4.0 Sp8." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft JET 4.0 Sp8" sourceurl="http://download.microsoft.com/download/a/d/f/adfdf363-0b09-4f39-bf89-1b4bc234fe97/WindowsXP-KB829558-x86-ENU.exe" destinationpath="#TEMPPATH\JET4Sp8" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\Msjet40.dll" fileversion="4.0.8015.0" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="44" os_filter_smaller="66" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft Jet Security Patch (MS04-014, KB 837001)" note="KB837001 patch for Windows 2000" processor_architecture_filter="" command=""#TEMPPATH\JetPatch1\Windows2000-KB837001-x86-ENU.exe" /passive /quiet"">
<downloaddialog dialog_caption="Microsoft Jet Security Patch (MS04-014, KB 837001) - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Jet Security Patch (MS04-014, KB 837001)." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Jet Security Patch (MS04-014, KB 837001)" sourceurl="http://download.microsoft.com/download/f/2/0/f20ae35d-b404-4021-9d9c-daab1f376462/Windows2000-KB837001-x86-ENU.EXE" destinationpath="#TEMPPATH\JetPatch1" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\Msjet40.dll" fileversion="4.0.8618.0" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="74" os_filter_smaller="81" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft Jet Security Patch (MS04-014, KB 837001)" note="KB837001 patch for Windows XP" processor_architecture_filter="" command=""#TEMPPATH\JetPatch1\WindowsXP-KB837001-x86-ENU.exe" /passive /quiet"">
<downloaddialog dialog_caption="Microsoft Jet Security Patch (MS04-014, KB 837001) - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Jet Security Patch (MS04-014, KB 837001)." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Jet Security Patch (MS04-014, KB 837001)" sourceurl="http://download.microsoft.com/download/6/8/d/68d5abd5-da33-4403-a55a-af5625bb8d2d/WindowsXP-KB837001-x86-ENU.EXE" destinationpath="#TEMPPATH\JetPatch1" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\Msjet40.dll" fileversion="4.0.8618.0" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="89" os_filter_smaller="91" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft Jet Security Patch (MS04-014, KB 837001)" note="KB837001 patch for Windows Server 2003" processor_architecture_filter="" command=""#TEMPPATH\JetPatch1\WindowsServer2003-KB837001-x86-ENU.exe" /passive /quiet"">
<downloaddialog dialog_caption="Microsoft Jet Security Patch (MS04-014, KB 837001) - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Jet Security Patch (MS04-014, KB 837001)." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Jet Security Patch (MS04-014, KB 837001)" sourceurl="http://download.microsoft.com/download/a/1/0/a1080cda-4801-4a0c-8692-0d9773b1cca5/WindowsServer2003-KB837001-x86-ENU.EXE" destinationpath="#TEMPPATH\JetPatch1" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\Msjet40.dll" fileversion="4.0.8618.0" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="44" os_filter_smaller="66" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft Jet Security Patch (MS08-028, KB 950749)" note="KB950749 patch for Windows 2000" processor_architecture_filter="" command=""#TEMPPATH\JetPatch2\Windows2000-KB950749-x86-ENU.exe" /passive /quiet"">
<downloaddialog dialog_caption="Microsoft Jet Security Patch (MS08-028, KB 950749) - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Jet Security Patch (MS08-028, KB 950749)." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Jet Security Patch (MS08-028, KB 950749)" sourceurl="http://download.microsoft.com/download/3/b/a/3ba100a5-520b-4cc6-9e50-6f48b5227407/Windows2000-KB950749-x86-ENU.EXE" destinationpath="#TEMPPATH\JetPatch2" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\Msjet40.dll" fileversion="4.0.9511.0" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="74" os_filter_smaller="83" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft Jet Security Patch (MS08-028, KB 950749)" note="KB950749 patch for Windows XP" processor_architecture_filter="" command=""#TEMPPATH\JetPatch2\WindowsXP-KB950749-x86-ENU.exe" /passive /quiet"">
<downloaddialog dialog_caption="Microsoft Jet Security Patch (MS08-028, KB 950749) - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Jet Security Patch (MS08-028, KB 950749)." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Jet Security Patch (MS08-028, KB 950749)" sourceurl="http://download.microsoft.com/download/4/0/9/409ad086-c27f-4c45-a4f1-69648131fa5b/WindowsXP-KB950749-x86-ENU.exe" destinationpath="#TEMPPATH\JetPatch2" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\Msjet40.dll" fileversion="4.0.9511.0" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="89" os_filter_smaller="95" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Microsoft Jet Security Patch (MS08-028, KB 950749)" note="KB950749 patch for Windows Server 2003" processor_architecture_filter="" command=""#APPPATH\JetPatch2\WindowsServer2003-KB950749-x86-ENU.exe" /passive /quiet"">
<downloaddialog dialog_caption="Microsoft Jet Security Patch (MS08-028, KB 950749) - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Jet Security Patch (MS08-028, KB 950749)." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Jet Security Patch (MS08-028, KB 950749)" sourceurl="http://download.microsoft.com/download/c/f/b/cfb09058-2759-44cf-870a-7ad54b2f9f91/WindowsServer2003-KB950749-x86-ENU.exe" destinationpath="#TEMPPATH\JetPatch2" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\Msjet40.dll" fileversion="4.0.9511.0" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="44" os_filter_smaller="83" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Windows Installer 3.1" note="Windows Installer 3.1 for Windows 2000 and XP" processor_architecture_filter="" command=""#TEMPPATH\WindowsInstaller-KB893803-v2-x86.exe" /quiet"">
<downloaddialog dialog_caption="Microsoft Windows Installer 3.1 - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Windows Installer 3.1." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Windows Installer 3.1" sourceurl="http://download.microsoft.com/download/1/4/7/147ded26-931c-4daf-9095-ec7baf996f46/WindowsInstaller-KB893803-v2-x86.exe" destinationpath="#TEMPPATH" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\msi.dll" fileversion="3.1.4000.2435" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="89" os_filter_smaller="91" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Windows Installer 3.1" note="Windows Installer 3.1 for Windows Server 2003 gold." processor_architecture_filter="" command=""#TEMPPATH\WindowsInstaller-KB893803-v2-x86.exe" /quiet"">
<downloaddialog dialog_caption="Microsoft Windows Installer 3.1 - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Windows Installer 3.1." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Windows Installer 3.1" sourceurl="http://download.microsoft.com/download/1/4/7/147ded26-931c-4daf-9095-ec7baf996f46/WindowsInstaller-KB893803-v2-x86.exe" destinationpath="#TEMPPATH" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\msi.dll" fileversion="3.1.4000.2435" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="91" os_filter_smaller="93" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" required="True" description="Windows Installer 3.1 Patch" note="Windows Installer 3.1 patch (KB 898715) for WS 2003 SP1" processor_architecture_filter="" command=""#TEMPPATH\WindowsServer2003-KB898715-x86-enu.exe" /quiet"">
<downloaddialog dialog_caption="Microsoft Windows Installer 3.1 Patch - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft Windows Installer 3.1 Patch." dialog_message_downloading="Download in progress. Please wait..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<downloads>
<download componentname="Microsoft Windows Installer 3.1 Patch" sourceurl="http://download.microsoft.com/download/4/8/5/4852c63a-cf27-4e83-baad-47b8372e9e9b/WindowsServer2003-KB898715-x64-enu.exe" destinationpath="#TEMPPATH" destinationfilename="" alwaysdownload="True" />
</downloads>
</downloaddialog>
<installedcheck type="check_file" filename="#SYSTEMPATH\msi.dll" fileversion="3.1.4000.2435" comparison="version" />
<embedfiles />
</component>
<component os_filter_greater="" os_filter_smaller="" os_filter_lcid="" type="msi" installcompletemessage="" mustreboot="False" required="True" description="Rehab Package" note="Rehab Package MSI." processor_architecture_filter="" package="#CABPATH\Rehab Package Setup.msi" cmdparameters="" cmdparameters_silent="">
<embedfiles>
<embedfile sourcefilepath="#APPPATH\Rehab Package Setup.msi" targetfilepath="#CABPATH\" />
</embedfiles>
</component>
</components>
<embedfiles />
</configuration>
</configurations>
----- End xml file
|
|
|
|

|
Uhm .... you are right (I think).
For now if there is an embedded cab dotNetInstaller try to install all the components from it.
Probably that should be a new feature, I will think about it.
Davide
|
|
|
|

|
I'll try and get you a patch that'll do it in a day or two.
(Advantage of Subversion - makes sending patches easy!)
|
|
|
|

|
OK. Here's the patch off your repository! Sorry it took so long!
The change in DownloadDialog.cs makes it so that files on the download list aren't embedded.
The change in EmbedFileCollection.cs makes sure that entries with an empty relativefile [a side effect of the first change, apparently] aren't included in the cab file - which create errors when dotNetInstaller tries to extract the cab file, because it creates a "WINDOWS" entry in the cab file [at least it did when I tried it!].)
If I didn't say this before, thanks for the very good program!
Index: InstallerLib/DownloadDialog.cs
===================================================================
--- InstallerLib/DownloadDialog.cs (revision 96)
+++ InstallerLib/DownloadDialog.cs (working copy)
@@ -171,11 +171,11 @@
public EmbedFileCollection GetFiles()
{
EmbedFileCollection files = new EmbedFileCollection();
- foreach (Download dl in Downloads)
- {
- string filename = Path.Combine(dl.destinationpath, dl.destinationfilename);
- files.Add(new EmbedFile(filename));
- }
+++++ return files;
}
}
Index: InstallerLib/EmbedFileCollection.cs
===================================================================
--- InstallerLib/EmbedFileCollection.cs (revision 96)
+++ InstallerLib/EmbedFileCollection.cs (working copy)
@@ -222,7 +222,7 @@
}
}
- if (!dupe)
+ if (!dupe && (relativepath.Length > 0))
{
files.Add(new string[] { fullpath, relativepath });
}
|
|
|
|

|
This has been fixed in 1.6 (currently RC1). I made a bad decision to enable automatic embedding, it's just very confusing. It has been removed in 1.6 and you have to explicitly specify EmbedFile components in the configuration for the files you wish to embed. It's also more flexible.
|
|
|
|

|
Here's what happens... C:\Documents and Settings\Curtis\My Documents\Visual Studio 2005\Projects\dotNet Installer>build all Target CoreClean: Creating directory "obj\". Target samples\PackagedSetup\Simple:Clean: The project "Simple" is not selected for building in solution co nfiguration "Release|Any CPU". Target InstallerLinker:Clean: __________________________________________________ Project "C:\Documents and Settings\Curtis\My Documents\Visual St udio 2005\Projects\dotNetInstaller\Dni.sln" is building "C:\Documents and Settin gs\Curtis\My Documents\Visual Studio 2005\Projects\dotNetInstaller\InstallerLink er\InstallerLinker.csproj" (Clean target(s)): Target CoreClean: Creating directory "obj\". Target version: C:\Documents and Settings\Curtis\My Documents\Visual Studio 2005\Project s\dotNetInstaller\dni.proj(54,3): error MSB6001: Invalid command line switch for "svnversion.exe". Value cannot be null. C:\Documents and Settings\Curtis\My Documents\Visual Studio 2005\Project s\dotNetInstaller\dni.proj(54,3): error MSB6001: Parameter name: path1 Done building target "version" in project "dni.proj" -- FAILED. Done building target "all" in project "dni.proj" -- FAILED. ------------------------ C:\Documents and Settings\Curtis\My Documents\Visual Studio 2005\Projects\dotNet Installer>svnversion --version svnversion, version 1.5.4 (r33841) compiled Oct 23 2008, 08:54:42 Copyright (C) 2000-2008 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). ---------------- Version of MSBuild.Community.Tasks.dll is 1.3.0.422, created on 10/20/2008. Version of Visual Studio is 2005 SP1.
|
|
|
|

|
Hi,
Uhm ... seems to be a problem with the svn command line, or this is the first error.
What if you compile it from Visual Studio?
Maybe you can also try to use SlikSVN, I usually use that package...
Davide
|
|
|
|

|
Hi,
I have downloaded version 1.4.4 using TortoiseSVN.
After compiling the project "dni.sln" and the project "dotNetInstaller.sln" appears the error "System not supported or invalid configuration, no valid configuration node found".
What should I do?
I have Windows XP Pro SP2 and Visual Studio 2008 Professional.
You can simulate the error with VirtualPC or other virtual machine.
Regards - Lello
modified on Tuesday, September 2, 2008 7:36 AM
|
|
|
|

|
You need Visual Studio 2005, although it should work with conversion in 2008 - I am not sure why it didn't convert the project correctly. Try opening DNI.sln in the root.
|
|
|
|
|

|
Hi Daniel,
The conversion from VS2005 to VS2008 ends without errors, but the project DNI.sln not working. Icon red appears on the file "dotNetInstaller.manifest" and appears the error "System not supported or invalid configuration, no valid configuration node found".
You can send me zip file with dotNetInstaller.exe and InstallerEditor.exe ?
Best Regards - Lello
e-mail: juris@juris.it
modified on Tuesday, September 2, 2008 1:53 PM
|
|
|
|

|
Hi Daniel,
The error depended on the fact that in directory "Debug" missing file "configuration.xml."
In my opinion, you need to change the dam 425 of ConfigFile.cpp
FROM
if ((! l_bFound) & & (! l_bAbort))
throw TEXT ( "System not supported or invalid configuration, no valid 'configuration' node found.");
TO
if ((! l_bFound) & & (! l_bAbort))
throw TEXT ( "System not supported or invalid configuration, no valid 'configuration' node found. Check the file APPLICATIONPATH\configuration.xml");
Sincerely - Lello
modified on Wednesday, September 3, 2008 5:45 AM
|
|
|
|

|
Daniel,
When will the new version ready?
|
|
|
|

|
Hi,
We are testing and review the code. I hope to release it in October.
Davide
|
|
|
|

|
I want to do an installcheck against a "default" registry value.
For example, I want to read the "(Default)" registry value for this key:
HKEY_CLASSES_ROOT\Word.Application\CurVer
However, I cannot figure out how to do this using the fieldname attribute. I've tried omitting this attribute, leaving its value blank (""), and setting its value to "(Default)". In all cases, it does not seem to be working.
Is it possible to read a default value? If not, any hints on how to tweak the code to make this work?
Thanks!
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
With this tool the developer can define the application prerequisites and install the correct version of these components in the correct order based on the user operating system type and language, allow the user to download these components from the web or install these components directly.
| Type | Article |
| Licence | MIT |
| First Posted | 1 Oct 2003 |
| Views | 525,196 |
| Downloads | 1,404 |
| Bookmarked | 300 times |
|
|