Note that there are some explanatory texts on larger screens.

plurals
  1. POInstallshield Build Automation
    primarykey
    data
    text
    <p>I have seen many solutions for automating my InstallShield build, but I am having issues with each one. I am using InstallShield Professional 2013. Sorry for the lengthy question, but I am clueless on which direction to go to solve my issues.</p> <p>1) <a href="http://kb.flexerasoftware.com/doc/Helpnet/installshield15helplib/ISCmdBldParam.htm" rel="nofollow">IsCmdBld.exe</a> - I have a script that runs and will build my installer. BUT, when the installer runs, I get an error message that says <code>"The System Administrator has set policies to prevent this installation"</code>. I am not sure why this is happening, but I do not get the same error message if I build the installer through the designer. EDIT: Here is my command (%guid% is a Guid I generate to set the Product Code):</p> <pre><code>for /f %%i in ('"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\uuidgen.exe"') do set guid=%%i "C:\Program Files (x86)\InstallShield\2013 SP1 SAB\System\ISCmdBld.exe" -p "MyInstaller.ism" -r SingleImage -y "1.0.0.13" -z ProductCode=%guid% </code></pre> <p>2) <a href="http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q110820" rel="nofollow">InstallShield Automation Interface</a> - I have followed numerous examples and tutorials on this, but all end in the same result. When I call the following code:</p> <pre><code> var project = new ISWiAuto20.ISWiProject(); </code></pre> <p>I get this error:</p> <pre><code>Unable to cast COM object of type 'System.__ComObject' to interface type 'ISWiAuto20.ISWiProject'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{872D23A7-C18D-468C-895D-1CF027E4FBB1}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)). </code></pre> <p>3) <a href="http://helpnet.installshield.com/installshield16helplib/MSBuild.htm" rel="nofollow">MsBuild.exe</a> - Running MsBuild on my InstallShield project file yields this error:</p> <pre><code>error NSB4025: The project file could not be loaded. Invalid character in the given encoding. Line 1, position 1 </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload