Re: How To Add Reference To Interopiwshruntimelibrary

0 views
Skip to first unread message
Message has been deleted

Celena Holtzberg

unread,
Jul 12, 2024, 10:53:51 AM7/12/24
to knotaxupop

I'm trying to use the iWshRuntimeLibrary. When I 'publish' my app, all is well. When I try to create a setup wizard project however, It builds and installs my project, but shows the following error at launch.

Please note: This is a PRODUCTION equivalent (PPE/QA) environment. Please do not expect to get answers from the forums here - or for searches to be reflected in production. To get to the production version of this site, please remove "QA." from the URL.

How To Add Reference To Interopiwshruntimelibrary


Download Zip https://lpoms.com/2yM6Hn



I'm using this library to create shortcuts in a custom action. In the reference, copy local is true. I get this error when I try to install on other computers. Any idea why this would happen? Building on Windows 7, error happens on both Windows 7 and XP. I notice that the file isn't in the Install folder of the target directory when the error happens, but I don't know why because copy local is set to true.

OK the problem just came up again. The library is added to the setup project, it's in the File System viewer in the Install folder (it's used in a custom install action), and while trying to install to a 32 bit Vista machine it gave the same error saying it couldn't find the file.

In the PrimaryOutput of the Application folder of your setup project add Interop.IwshRuntimeLibrary.dll. Then rebuild your setup project and try running the setup.exe. this worked in my case.. hope this solution helps you too.. Sameer G

Application folder means exactly folder? I tried copying the same DLL in %AppData% folder but didn't work ... I am using installshield to create the setup project. Are you suggesting to copy the Interop.IwshRuntimeLibrary.dll include with my setup binaries? please help me

Visual Studio generates an interop assembly containing metadata when you add a reference to a type library. If a primary interop assembly is available, Visual Studio uses the existing assembly before generating a new interop assembly.

In the Properties window, make sure that the Embed Interop Types property is set to True. This causes Visual Studio to embed type information for COM types in your executables, eliminating the need to deploy primary interop assemblies with your app.

Changes for v1.7.0.0 - v1.7.0.14

  • *1.7.0.0: Made open source, removed donation and adverts links.
  • *1.6.0.11: FIX: Minor UI fixes.
  • *1.6.0.10: FIX: AIO Components showed message during preset load
  • *1.6.0.10: FIX: Tweaks tab showed incorrect count
  • *1.6.0.9: FIX: WIM Manager will remember choice when editing names and descriptions
  • *1.6.0.9: FIX: Fixed WIM Manager column sizes
  • *1.6.0.8: FIX: Unattended remained grey when cancel import
  • *1.6.0.8: FIX: Minor column size changes.
  • *1.6.0.8: FIX: Added format warning on USB Boot Prep tool
  • *1.6.0.8: FIX: Tooltips on AIO Integrator for silent installers and files.
  • *1.6.0.8: FIX: Flickering on AIO Components and vLite tabs on check all
  • *1.6.0.8: FIX: Centering on + button in AIO
  • *1.6.0.8: Updated download links
  • *1.6.0.8: Better 4K support and scaling options
  • *1.6.0.8: Removed update cache button.
  • *1.6.0.7: FIX: Selecting all tweaks in a category in AIO integrator would cause an error.
  • *1.6.0.7: FIX: Registry files added to AIO Integrator in Tweaks could not be removed.
  • *1.6.0.6: FIX: Writing EFI file (typo)
  • *1.6.0.6: Added more Windows 10 edition flags
  • *1.6.0.5: FIX: Made Re-Arm option on Capture Image Windows 7 only
  • *1.6.0.4: Added 'None' option in ISO Maker
  • *1.6.0.3: FIX: Fixed 'Upgrade Image' in 'WIM Manager'
  • *1.6.0.2: Updated and fixed EFI boot in ISO Maker
  • *1.6.0.1: Added Windows 10 generic keys.
  • *1.6.0.1: Added screen to get current windows key to Tools menu.
  • *1.6.0.1: Removed all adverts on links (starting 2018).
  • *1.5.4.16^FIX: Error importing previous presets.
  • *1.5.4.15^FIX: Fixed boot.wim test enabled on preset import.
  • *1.5.4.14^FIX: Fixed some drivers not being detected when adding to AIO integrator
  • *1.5.4.13^FIX: Fixed options being loaded last effecting preset import.
  • *1.5.4.13^FIX: Known problem updated were still integrated
  • *1.5.4.13^FIX: Temp files incorrectly remained causing duplicate entries.
  • *1.5.4.12^Remove 'Create Backups' on AIO as it was pointless
  • *1.5.4.12^Refactored and cleanuped file operations code.
  • *1.5.4.11^Allowed Image Capture tool to open separately.
  • *1.5.4.10^Hopefully fixed UI staying disabled adding drivers.
  • *1.5.4.9^Removed Windows 10 expiry.
  • *1.5.4.8^All update rollups now go in 2nd phase
  • *1.5.4.7^Updated download ISO screen
  • *1.5.4.7^FIX: Fixed Capture Image sometimes renaming to 'Select a new wim...'
  • *1.5.4.7^FIX: Fixed silent installer prompt for known updates
  • *1.5.4.6^Added more known prerequisite updates
  • *1.5.4.6^Added more editions to Capture Image tool
  • *1.5.4.5^Added upgrade options for Windows 10
  • *1.5.4.5^Added upgrade options for Windows 8 CoreConnected
  • *1.5.4.5^Update rollups integrated after IE
  • *1.5.4.4^FIX: Windows 10 support extended.
  • *1.5.4.2^FIX: Fixed issue with RunOnce skipping certain filenames
  • *1.5.4.1^New prompt on known bad updates
  • *1.5.4.1^New auto-clean feature when unmounting for exclusive users
  • *1.5.3.21^FIX: Skype of Business allows in MSP Converter
  • *1.5.3.21^KB3035126 added to silent install list
  • *1.5.3.21^KB3035132 added to silent install list
  • *1.5.3.19^FIX: Component Remover > Metro App removal
  • *1.5.3.18^Improved Addon Integration
  • *1.5.3.18^Improved RunOnce Installer
  • *1.5.3.16^FIX: Issues with DISM on Windows 8.1 and later
  • *1.5.3.14^Fixed minor bugs
  • *1.5.3.14^Better string comparisons
  • *1.5.3.14^ISO Maker remembers last rebuild setting
  • *1.5.3.14^Capture Image tool updated
  • *1.5.3.14^Fixed ClearAttribute method
  • *1.5.3.14^NEW: New addon engine.
  • *1.5.3.14^BAT file support for silent installers
  • *1.5.3.13^Fixed potential access denied message on USB Boot Prep

Changes for v1.5.3.12 - v1.5.3.21

  • *1.5.3.21^FIX: Skype of Business allows in MSP Converter
  • *1.5.3.21^KB3035126 added to silent install list
  • *1.5.3.21^KB3035132 added to silent install list
  • *1.5.3.19^FIX: Component Remover > Metro App removal
  • *1.5.3.18^Improved Addon Integration
  • *1.5.3.18^Improved RunOnce Installer
  • *1.5.3.16^FIX: Issues with DISM on Windows 8.1 and later
  • *1.5.3.14^Fixed minor bugs
  • *1.5.3.14^Better string comparisons
  • *1.5.3.14^ISO Maker remembers last rebuild setting
  • *1.5.3.14^Capture Image tool updated
  • *1.5.3.14^Fixed ClearAttribute method
  • *1.5.3.14^NEW: New addon engine.
  • *1.5.3.14^BAT file support for silent installers
  • *1.5.3.13^Fixed potential access denied message on USB Boot Prep

Changes for v1.5.2.14 - v1.5.2.16

  • Fixed a race condition with the RunOnce
  • FIX: Fixed selecting read-only wim images
  • FIX: Fixed 'Make ISO' button on AIO Disk Creator
  • FIX: Fixed scratchdir crash on exit
  • FIX: Unattended 'Serial' did not update
  • FIX: MaxDate error if Windows year is set to < 2013
  • FIX: Potential duplicate folder path in RunOnce
  • Better error logging
  • FIX: Fixed potential RunOnce issues
  • FIX: Fixed most too long silent installer path errors
  • FIX: Fixed hanging at end of Update Catalog download
  • Update Catalog code improvements
  • FIX: Fixed incorrect name on Silent Installer
  • FIX: No longer able to work on images with install.wim missing
  • FIX: Temporary fix of Windows 10 image support
  • FIX: Invalid options showing in WIM Manager
  • FIX: Unmount Screen > Cleanup Manager text too big
  • Added more logging on Update Catalog
  • FIX: Fixed image not appearing
  • FIX: AIO Move to top and bottom buttons
  • FIX: Cleanup Manager via Capture Image error when no folder selected
  • FIX: Object null on Cleanup Manager load
  • FIX: Fixed parameter not correct when getting wim info
  • FIX: Index -1 error when moving in AIO
  • FIX: ISO Maker access denied error on DVDs
  • FIX: Corrupt update detection
  • FIX: Null error on update integration
  • FIX: Access denied error on ISO extraction

Changes for v1.5.2.11 - v1.5.2.14

  • FIX: MaxDate error if Windows year is set to < 2013
  • FIX: Potential duplicate folder path in RunOnce
  • Better error logging
  • FIX: Fixed potential RunOnce issues
  • FIX: Fixed most too long silent installer path errors
  • FIX: Fixed hanging at end of Update Catalog download
  • Update Catalog code improvements
  • FIX: Fixed incorrect name on Silent Installer
  • FIX: No longer able to work on images with install.wim missing
  • FIX: Temporary fix of Windows 10 image support
  • FIX: Invalid options showing in WIM Manager
  • FIX: Unmount Screen > Cleanup Manager text too big
  • Added more logging on Update Catalog
  • FIX: Fixed image not appearing
  • FIX: AIO Move to top and bottom buttons
  • FIX: Cleanup Manager via Capture Image error when no folder selected
  • FIX: Object null on Cleanup Manager load
  • FIX: Fixed parameter not correct when getting wim info
  • FIX: Index -1 error when moving in AIO
  • FIX: ISO Maker access denied error on DVDs
  • FIX: Corrupt update detection
  • FIX: Null error on update integration
  • FIX: Access denied error on ISO extraction

Changes for v1.5.2.9 - v1.5.2.11

  • FIX: Fixed incorrect name on Silent Installer
  • FIX: No longer able to work on images with install.wim missing
  • FIX: Temporary fix of Windows 10 image support
  • FIX: Invalid options showing in WIM Manager
  • FIX: Unmount Screen > Cleanup Manager text too big
  • Added more logging on Update Catalog
  • FIX: Fixed image not appearing
  • FIX: AIO Move to top and bottom buttons
  • FIX: Cleanup Manager via Capture Image error when no folder selected
  • FIX: Object null on Cleanup Manager load
  • FIX: Fixed parameter not correct when getting wim info
  • FIX: Index -1 error when moving in AIO
  • FIX: ISO Maker access denied error on DVDs
  • FIX: Corrupt update detection
  • FIX: Null error on update integration
  • FIX: Access denied error on ISO extraction

7fc3f7cf58
Reply all
Reply to author
Forward
0 new messages