Quantcast
Channel: Flexera Community Forums
Viewing all 4553 articles
Browse latest View live

error -7141: An unexpected error occurred embedding file

$
0
0
After upgrading to 2018 SAB this ISM no longer builds. These are custom assembly actions built AnyCPU. The DLL and clr file are present at the path indicated. No intentional changes were made other than converting the ISM to IS 2018.

How can we diagnose this problem?

ISDEV : error -7141: An unexpected error occurred embedding file C:\Builds\1016\O\E\src\Source\Utilities\tools\bin\release\ISTools.dll into C:\Builds\1016\O\E\src\Source\InstallShield\E\Std\Interm\_AC87EF3426D8E5FBFC30F254503BB5D5.clr [C:\Builds\1016\O\E\BuildType\TFSBuild.proj]

[Edit: after removing dead code from the assembly the error moved to a dependency of the assembly. The error is the same but it complains that the dependency can't be added.]

Installshield Suite/Advanced UI - Show/Hide feature DURING dialog sequence

$
0
0
Hey everyone.

I've been trying to use an Installshield Suite/Advanced UI project and I seem to be running into a problem. What I am trying to do is change a feature from hidden to visible based on a license verification dialog in my suite project (I.E. unlicensed features cannot be seen or selected). The condition for each feature uses a property that is set to false by default to determine visibility. When the next button of the dialog is clicked, a suite action will be run to determine if the entered information is valid, and the properties for each feature will be updated to true if they are (Therefore I would like each licensed feature to become visible). However everytime I get to the feature selection dialog, after the properties have been updated, all features are still invisible.

What I've noticed is that feature conditions are only calculated initially when the suite application is launched, not before the feature dialog is rendered to the user.

I guess my question(s) would be:

1. Is it possible to change the visibility of a feature that was previously hidden to visible during the dialog sequence just before the feature dialog?
2. Is it possible to change the visibility of a feature from installscript in a Suite/Advanced UI project? (Similar to FeatureSetData in Instalscript MSI)
3. Can I force the Suite project to reload feature condition checks from an installshield suite action? (Or preferably from an installscript function)

Thanks for your time.

tivsade dfdfof sdGogle afddft thfdfe tidfdfm

$
0
0

How to create Windows 10 Tile with Installscript?

$
0
0
I just upgraded from IS 2015 Pro to 2016. Reason being to add Windows 10 tiles to hundreds of installers and to look into creating UWP installers as well.

I can't see how to do either of those.

I'm using .ISM files and have about 400 installer scripts for various document packages. The installs themselves are pretty basic. Because everything is Word/PDF/HTML based there are no .exe files in my packages. I'm either installing a local web site using .HTM files or utility programs written in VBA contained in Word .docm files.

All that works fine with normal desktop/start menu shortcuts and icons. I'm using AddFolderIcon calls in Installscript to create Windows desktop shortcuts that launch the installed .HTM files or the .DOCM files that then execute the embedded macros and I can set my own .ICO files no problem.

I can't see how to add Windows 10 Tiles.

IS 2016 only supports tiles through the interface if you have a .exe file in the installation to hook it to. And I can't find any InstallScript functions that can be used to create tiles.

How can I get this to work?

SecurCustomProperties Usage Question...

$
0
0
Hi all,

It's been a while. Hope all had a great Holiday Season.

So, I have an immediate custom action, which runs from a UI button click and grabs a value from an XML file and sets a PUBLIC property to that value. I then want to run a custom action condition to run if the PUBLIC property has been populated or has a value and also pass the property to the widget as a parameter. Do I have to add this property to SecureCustomProperties?

The install runs elevated requiring Admin rights.

If I do have to add it to SecureCustomProperties, do I have to seed the PUBLIC property in the Property table (I will not set a value) or can I just add the Property name to SCP?

Any help appreciated.

I'm thinking I have to add to Property table, add to SCP, and then things will work.

Over the years I am often confused with using SCP or CustomActionData. I think in all the years I've been tasked with creating installs, I've only used CustomActionData a few times. The majority of install tasks just work or seem to work if added to SCP.

Thanks for any clarification, tips, etc.

ISDEV : error -7323: MSI DLL Custom Action cannot call a function in managed code

$
0
0
Hi Team,

We are currently migrating installed shield ism files from 2012 to 2016.
While building the ism file we are getting error like "ISDEV : error -7323: MSI DLL Custom Action "MycustomAction" cannot call a function in managed code".
We are generated custom actions using the C++ project.

Installed Shield 2016 Version: InstallShield2016SP2ProfessionalComp (trail version)

Could you please guide me how to resolve this issue?

Thanks & Regards,
M. Rama Satya Prasad.

ISDEV : warning -6047: The release 'Release' is set to use an unsupported MSI redist

$
0
0
Hi Team,

We are currently migration Installed Shield ism files from 2012 to 2016.

While opening 2012 ism file using Installed Shield 2016 we are getting warning like
"ISDEV : warning -6047: The release 'Release' is set to use an unsupported MSI redist version. The release will be updated to use MSI 3.1."

Could you please suggest how to resolve this warning.

Thanks & Regards,
M. Rama Satya Prasad.

How do you get an installer to actually pin a tile during the install?

$
0
0
I just upgraded from 2015 to IS 2016 Pro to add Windows 10 tile support to my installers.

I have a test install built where I can add a Tile Configuration linked with a small and medium icon to an exe file.

After the installer completes I do see it created a manifest file and if I manually pin the exe to the Windows 10 start I do see my tile show up.

But how do I get the installer during the install to do the pinning to the start menu? Can I add a checkbox option on one of the dialogs such as "Pin to Start Menu" that the user can check, and if they check it have the installer pin it then?

I can't find any info related to pinning tiles in the stock dialog screens or installscript manual.

51406 Fulfillment record is disabled

$
0
0
Hello,

InstallShield 2014 Express requires licensing after a a SSD crash. I restored a disk image on a new SSD drive of identical type. Everything else I have continues to work normally accept IS 2014.

Due to the crash, I obviously could not return the licence.

In process of trying to licence through the website I am now getting - 51406 Fulfillment record is disabled

I tried contacting support, but Im not sure that I got through, as I have not received a reply with a ticket number or anything.

How to selectively upgrade part of features of my program?

$
0
0
My program has several components which are independent of each other, so different components may have different versions. So when I publish a new version of my program, I hope that user can selectively upgrade just part of components, with rest components staying the old version. However, when I use the feature dialogs, those unselected features will be uninstalled, which is not what I expected. So I want to ask whether there is a way to selectively upgrade part of features? Do I need to write a custom dialog to implement this requirement?

Logging in FNMP 9.2

$
0
0
We are currently running FNMP 9.2, and are having an issue importing the ARL. Support said to look in the Recognition.log file, but there are no log files on the server. Any ideas as to how to turn on logging? I've searched both drives on the server, but can't find any current log files. The only ones I see are over five years old.

Where to put preqequisites for SAB installation?

$
0
0
Hi I was naughty and had the professional installation of installshield on our build server and not just the standalone build software.
I have since moved the GUI professional to my desktop and installed the SAB on the server. (licenced them both as well)
The issue I have though with this is that we installShield is built it does not find the prerequsisites.

I copied all the prerequsistes from
C:\Program Files (x86)\InstallShield\2014\SetupPrerequisites
to
C:\Program Files (x86)\InstallShield\2014 SAB\SetupPrerequisites
But it still does not find them... Where are they supposed to go?

Error log output:
Language English (United States) built
ISDEV : error -6003: An error occurred streaming 'Microsoft Visual C++ 2010 SP1 Redistributable Package (x86).prq' into setup.exe
ISDEV : error -7066: Your project contains a reference to the InstallShield prerequisite Microsoft Visual C++ 2010 SP1 Redistributable Packa
ge (x86).prq; however, this file cannot be located. Either remove the InstallShield prerequisite from your project, or locate this file.
ISDEV : error -6003: An error occurred streaming 'Microsoft .NET Framework 4.5.1 Full.prq' into setup.exe
ISDEV : error -7066: Your project contains a reference to the InstallShield prerequisite Microsoft .NET Framework 4.5.1 Full.prq; however, t
his file cannot be located. Either remove the InstallShield prerequisite from your project, or locate this file.
Building .cab files...

Migrated from InstallAnywhere 2009 SP1 to IA2017 - missing license files

$
0
0
I am migrating my install project file from IA2009 SP1 to IA2017. I am running the same project file (built with 2009) against IA2017. The build completes with couple of warnings and the setup.exe gets built. I am able to launch the setup.exe. After couple of panels I am at the "Accept the license terms" panel. But the panel is missing the license text and the "accept" radio button is grayed out. So I am unable to progress further. Can someone please help me what changes I need to make the license text appear in the panel? I am hoping having the license content will enable the "accept" button.

Thanks in Advance.

password and email id validation in InstallShield javascript

$
0
0
Hi,

Requirement : To validate password and emailID entered by user.
I have designed a dialog for user to enter there email id and password for creating their new account.

I want the the user input to be validated on the "next" button of the dialog.
I have written a javascript for it as below and added a custom action in "do action" of my dialog button.In custom action I have called PasswordValidation function.

function PasswordValidation()
{
var Passwordportal = Session.Property("PASSWORDPORTAL");
var patt = /^[A-Za-z0-9]{6,20}$/;
var passvalid = patt.test(Passwordportal);
if (passvalid)
{
GetMd5();
Session.Property("PASSVALIDFLAG") = "0";
return true;
}

Session.Property("PASSVALIDFLAG") = "1";
alert("Password should have 6 to 20 characters with a digit and alphabet")
return false;

}
function GetMd5()
{
var szPostgrePath = Session.Property("PGLOCATION");
var szPgPAssword = Session.Property("DBPASSWORD");
var szUsername = Session.Property("DBUSERID");
var szDataBase = Session.Property("DBNAME");
var szHostname = Session.Property("SERVERIP");
var szPasswordportal = Session.Property("PASSWORDPORTAL");


var cmdLine = '%comspec% /c set \"PGPASSWORD='+szPgPAssword+'\" & \"' + szPostgrePath + '\\bin\\psql.exe\" -U '+szUsername+' -d '+szDataBase+' -h '+szHostname+' -t -c \"SELECT MD5(\''+szPasswordportal+'\')\"';
Session.Property("ENCRYPTEDPWD") = getCommandOutput(cmdLine);
var encrypted = Session.Property("ENCRYPTEDPWD");
//encrypted = encrypted.replace(/\s+/g, ' ').trim();
//var res = encrypted.split("/n");

//encrypted = res[0];
encrypted = encrypted.replace(/(\r\n|\n|\r)/gm,"");
//encrypted = encrypted.substring(1,33);
Session.Property("ENCRYPTEDPWDnew") = encrypted;

var szEncryptedPwd = Session.Property("ENCRYPTEDPWDnew");
var szPortalUser = Session.Property("USERPORTAL");

var cmdlinenew = '%comspec% /c set \"PGPASSWORD='+szPgPAssword+'\" & \"' + szPostgrePath + '\\bin\\psql.exe\" -U '+szUsername+' -d '+szDataBase+' -h '+szHostname+' -t -c \"Update users set \\\"UserName\\\"=\''+szPortalUser+'\',\\\"Password\\\"=\''+szEncryptedPwd+'\' Where \\\"UserId\\\"=1\"';
Session.Property("CMDLINEUPDATE") = cmdlinenew;
Session.Property("UPDATECMDOUTPUT") = getCommandOutput(cmdlinenew);
}




But this JS is not getting executed successfully.

Can someone help me out with this?

minutes for another alert to be issued


It was caused by an employee at Civil Defense

emergency warning to tell them it was a mistake

Ethereum has now overtaken as the second biggest cryptocurrency

Determine if required App is installed. Install can't install third party tools

$
0
0
I have a third part application, ArborText, that must be installed for my applicating install to proceed. The product is installed through resellers so looking to the files system will not work. Resellers can alter the default install location and so can the users. I can however find the product in the Registry.

One of my Customer’s main requirements is that under no circumstances can this install download or install “ArborText”. There are not exceptions!

If the “Arbortext” is not installed, I need my installation to stop. How?

How can I determine if “Arbortext” is installed?

Can I Condition a Prerequisite based on the Setup.exe File Name?

$
0
0
I have a prerequisite package that should be white labeled for various companies/users. I can either make the prerequisite a general Product Name and not have white label specific/different packages.

Or, I was wondering, is there a way at runtime to condition a prerequisite .exe with the name of the Setup .exe file that is calling it?

I guess it would be easier to just have a generic name for this prerequisite, but I know there are some customer requirements as to what appears in Add Remove Programs, and yes, they want to see the installed package in ARP.

Any info appreciated!
Viewing all 4553 articles
Browse latest View live