How not to embed anything?

Nov 30, 2010 at 11:02 AM

I'm trying to create a boostrapper with a number of prerequisites and a main msi and as the final product will be delivered on cd (and concerns about repair etc..) I want to keep my prerequisites AND my main msi next to the boostrapper.

However, when I try to execute it I get an error:

2010-11-30 12:34:50 -------------------------------------------------------------------2010-11-30 12:34:50 dotNetInstaller (DNI) started, version 1.10.1525.02010-11-30 12:34:50 Copyright (c) DevAge, Vestris Inc. & Contributors2010-11-30 12:34:50 Operating system: Windows XP Sp32010-11-30 12:34:50 -------------------------------------------------------------------2010-11-30 12:34:50 Sequence: install2010-11-30 12:34:50 Loaded configuration from embedded resource 'RES_CONFIGURATION'2010-11-30 12:34:50 Loaded schema: version=1.10.1525.0, generator=dotNetInstaller InstallerEditor2010-11-30 12:34:50 Read file attribute: name=CompanyName, value=XXX2010-11-30 12:34:50 Read file attribute: name=FileDescription, value=XXX2010-11-30 12:34:50 Read file attribute: name=LegalCopyright, value=Copyright © 2010 XXX2010-11-30 12:34:50 Read file attribute: name=ProductName, value=XXX2010-11-30 12:34:50 Read 4 file attribute(s)2010-11-30 12:34:50 Loaded 'file' installed check 'C:\WINDOWS\system32\msi.dll'2010-11-30 12:34:50 Loaded wininstaller31, display_name='Windows Installer 3.1', pa=x862010-11-30 12:34:50 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\Version'2010-11-30 12:34:50 Loaded NET35SP1, display_name='.NET Framework 3.5 SP1'2010-11-30 12:34:50 Loaded 'file' installed check 'C:\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll'2010-11-30 12:34:50 Loaded vs90pia, display_name='Primary Interop Assemblies'2010-11-30 12:34:50 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\9.0\InstallPath\'2010-11-30 12:34:50 Loaded adobereader93, display_name='Adobe Reader 9.3'2010-11-30 12:34:50 Loaded XXX, display_name='XXX'2010-11-30 12:34:50 Loaded 5 component(s) from configuration type=1 (lcid_filter=, os_filter=winXPsp3,win7, os_filter_min=, os_filter_max=, processor_architecture_filter=)2010-11-30 12:34:50 --- Read 1 configuration(s)2010-11-30 12:34:50 -- Loading supported configurations (lcid=1033)2010-11-30 12:34:50 -- Loading supported configurations (lcid=1033)2010-11-30 12:34:50 UI level: full2010-11-30 12:34:50 -- Loading supported components (lcid=1033)2010-11-30 12:34:50 -- wininstaller31 (display_name='Windows Installer 3.1', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=x86): LOADED2010-11-30 12:34:50 -- NET35SP1 (display_name='.NET Framework 3.5 SP1', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:50 -- vs90pia (display_name='Primary Interop Assemblies', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:50 -- adobereader93 (display_name='Adobe Reader 9.3', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:50 -- XXX (display_name='XXX', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:50 --- Loaded 5 supported component(s)2010-11-30 12:34:50 Checking file: C:\WINDOWS\system32\msi.dll2010-11-30 12:34:50 File version: C:\WINDOWS\system32\msi.dll - 4.5.6001.221592010-11-30 12:34:50 -- wininstaller31 (Windows Installer 3.1): INSTALLED2010-11-30 12:34:50 Checking whether registry value 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\Version' exists2010-11-30 12:34:50 Registry value: 3.5.30729.012010-11-30 12:34:50 -- NET35SP1 (.NET Framework 3.5 SP1): INSTALLED2010-11-30 12:34:50 Checking file: C:\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll2010-11-30 12:34:50 File version: C:\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll - 7.0.3300.12010-11-30 12:34:50 -- vs90pia (Primary Interop Assemblies): INSTALLED2010-11-30 12:34:50 Checking whether registry key 'SOFTWARE\Adobe\Acrobat Reader\9.0\InstallPath' exists2010-11-30 12:34:50 Registry key 'SOFTWARE\Adobe\Acrobat Reader\9.0\InstallPath' found2010-11-30 12:34:50 -- adobereader93 (Adobe Reader 9.3): INSTALLED2010-11-30 12:34:50 -- Screening Center Client (Screening Center Client): NOT INSTALLED2010-11-30 12:34:54 -- Loading supported components (lcid=1033)2010-11-30 12:34:54 -- wininstaller31 (display_name='Windows Installer 3.1', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=x86): LOADED2010-11-30 12:34:54 -- NET35SP1 (display_name='.NET Framework 3.5 SP1', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:54 -- vs90pia (display_name='Primary Interop Assemblies', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:54 -- adobereader93 (display_name='Adobe Reader 9.3', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:54 -- XXX (display_name='XXX', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:54 --- Loaded 5 supported component(s)2010-11-30 12:34:54 Extracting embedded files for component '*': NO FILES EMBEDDED2010-11-30 12:34:54 --- Component 'wininstaller31' (Windows Installer 3.1): SKIPPED2010-11-30 12:34:54 --- Component 'NET35SP1' (.NET Framework 3.5 SP1): SKIPPED2010-11-30 12:34:54 --- Component 'vs90pia' (Primary Interop Assemblies): SKIPPED2010-11-30 12:34:54 --- Component 'adobereader93' (Adobe Reader 9.3): SKIPPED2010-11-30 12:34:54 --- Component 'XXX' (Screening Center Client): EXECUTING2010-11-30 12:34:54 Extracting embedded files for component 'XXX': NO FILES EMBEDDED2010-11-30 12:34:54 *** Component 'XXX' (XXX): ERROR - 0x800401f4 - Error in ::IIDFromString: Invalid interface string2010-11-30 12:34:54 --- Component 'XXX (XXX)' FAILED: 0x800401f4 - Error in ::IIDFromString: Invalid interface string2010-11-30 12:34:55 --- Component 'XXX (XXX): FAILED, ABORTING2010-11-30 12:34:55 *** Failed to install one or more components, reloading components (reload_on_error).2010-11-30 12:34:55 -- Loading supported components (lcid=1033)2010-11-30 12:34:55 -- wininstaller31 (display_name='Windows Installer 3.1', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=x86): LOADED2010-11-30 12:34:55 -- NET35SP1 (display_name='.NET Framework 3.5 SP1', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:55 -- vs90pia (display_name='Primary Interop Assemblies', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:55 -- adobereader93 (display_name='Adobe Reader 9.3', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:55 -- XXX (display_name='XXX', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED2010-11-30 12:34:55 --- Loaded 5 supported component(s)2010-11-30 12:34:55 Checking file: C:\WINDOWS\system32\msi.dll2010-11-30 12:34:55 File version: C:\WINDOWS\system32\msi.dll - 4.5.6001.221592010-11-30 12:34:55 -- wininstaller31 (Windows Installer 3.1): INSTALLED2010-11-30 12:34:55 Checking whether registry value 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\Version' exists2010-11-30 12:34:55 Registry value: 3.5.30729.012010-11-30 12:34:55 -- NET35SP1 (.NET Framework 3.5 SP1): INSTALLED2010-11-30 12:34:55 Checking file: C:\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll2010-11-30 12:34:55 File version: C:\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll - 7.0.3300.12010-11-30 12:34:55 -- vs90pia (Primary Interop Assemblies): INSTALLED2010-11-30 12:34:55 Checking whether registry key 'SOFTWARE\Adobe\Acrobat Reader\9.0\InstallPath' exists2010-11-30 12:34:55 Registry key 'SOFTWARE\Adobe\Acrobat Reader\9.0\InstallPath' found2010-11-30 12:34:55 -- adobereader93 (Adobe Reader 9.3): INSTALLED2010-11-30 12:34:55 -- XXX (XXX): NOT INSTALLED2010-11-30 12:35:01 dotNetInstaller finished, return code=16777215

 

This is configuration for main msi:

    <component package="#APPPATH\my.msi" cmdparameters="" cmdparameters_silent="/qn" cmdparameters_basic="/qb-" uninstall_package="" uninstall_cmdparameters="/qb-" uninstall_cmdparameters_silent="/qn" uninstall_cmdparameters_basic="/qb-" id="XXX" display_name="XXX" uninstall_display_name="" os_filter="" os_filter_min="" os_filter_max="" os_filter_lcid="" type="msi" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" default_continue_on_error="False" required_install="True" required_uninstall="False" selected_install="True" selected_uninstall="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="True" show_progress_dialog="True" show_cab_dialog="True">    </component>

The "my.msi" exists next to the created bootstrapper at runtime 

This is command line I'm using:

<Exec Command="&quot;$(SolutionDir)..\Tools\dotNetInstaller1.10\InstallerLinker.exe&quot; /Embed- /Output:&quot;$(OutDir)en-us\setup.exe&quot; /Banner:&quot;$(SolutionDir)Bootstrapper\banner.bmp&quot; /Template:&quot;$(SolutionDir)..\Tools\dotNetInstaller1.10\dotNetInstaller.exe&quot; /Configuration:&quot;$(SolutionDir)Bootstrapper\Configuration.xml&quot; /Icon:&quot;$(SolutionDir)XXX.ico&quot; /Manifest:&quot;$(SolutionDir)Bootstrapper\Bootstrapper.manifest&quot;" />

 

What am I missing to get this to work successfully?

Coordinator
Nov 30, 2010 at 11:14 AM

The first error in the log that I see is ERROR - 0x800401f4 - Error in ::IIDFromString: Invalid interface string. Your configuration probably has a product installed check under the XXX product that doesn't have a valid product id. The rest is fine so far.

Nov 30, 2010 at 11:26 AM

I actually do not have a product check, since I figured my msi does that anyway and I couldn't figure out how to check using upgradecode and check that the installed version is equal to current version.

Coordinator
Nov 30, 2010 at 12:11 PM

What's component XXX? Are you sure the log is not from the time when you tried to have a product check?

Nov 30, 2010 at 12:15 PM

Xxx is the same as my.msi and the only msi package I'm installing
.

Thanks for trying to help so quickly btw.

On Nov 30, 2010 3:12 PM, "dblock" <notifications@codeplex.com> wrote:
> From: dblock
>
> What's component XXX? Are you sure the log is not from the time when you tried to have a product check?
>
>
Coordinator
Nov 30, 2010 at 12:22 PM

Re-run your config and make sure you have the same error. Then post your complete configuration please.

Dec 3, 2010 at 12:10 PM
I tried again and now it works as expected, sorry for the noise and late reply.

On Tue, Nov 30, 2010 at 3:22 PM, [email removed] wrote:
> From: dblock
>
> Re-run your config and make sure you have the same error. Then post your
> complete configuration please.
>
> Read the full discussion online.
>
> To add a post to this discussion, reply to this email
> ([email removed]@discussions.codeplex.com)
>
> To start a new discussion for this project, email
> [email removed]@discussions.codeplex.com
>
> You are receiving this email because you subscribed to this discussion on
> CodePlex. You can unsubscribe on CodePlex.com.
>
> Please note: Images and attachments will be removed from emails. Any posts
> to this discussion will also be available online at CodePlex.com