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

Command Line Build fails even though preferences set not to fail

$
0
0
Hi Team,

I am working on IA 2015 project file. We have action steps for various platforms - windows, AIX, Linux etc. Out of these, AIX systems are temporarily down and we want IA to skip those tags while building WIN or LINUX executable. But, when I try to build windows EXE, IA shows me error message of Missing Resource which is in AIX related Action step, linked to AIX tag.
So, I have modified the Install Anywhere preferences, General Settings > Command Line Builds > set to continue without including the missing files.
I saved the project file and tried to run from my Ant Build Script. But I could see the same error. Please let me know how I can overcome this error.

Thank you

How to get the sql output value using sqlcmd batch file

$
0
0
cd\
set DB_USER=$INSTALLER_DATABASE_SERVER_USERID$
@set DB_PWD=$INSTALLER_DATABASE_SERVER_PASSWORD$
set DB_SERVER=$DATABASE_SERVER_HOST$
set DB_NAME=$DATABASE_NAME$

@sqlcmd -U%DB_USER% -P"%DB_PWD%" -d"%DB_NAME%" -S%DB_SERVER% -Q "Select 1 "

I want to store output value 1 in the variable to validate the message dailog to rule with $EXECUTE_STDOUT$ or custom variable.
Please share me the syntax and query

This is Preinstall section

Wise Project converted to InstallShield?

$
0
0
Hi,

Is there a way to convert Wise Project to InstallShield (Profession version)?

Thanks,

MSI package from Installscript project

$
0
0
Hi,

I want to use Installscript project. I need to get a MSI install package, is it possible?

Thanks,

MessageBox is going background during uninstallaion.

$
0
0
Hello All,

I have a basic MSI project.
During uninstallation, the first MessageBox is always going behind uninstallation progress window.
Kindly let me know how to resolve this issue?

Is this a known issue\bug of InstallShiled?

Thanks

Returning linger license to the server

$
0
0
Hello,

we have a test system, where we have tested using a license file, containing one license.

In the options file, we have set (for test purposes) the LINGER option. Now we are not able to give the reserved licens back earlier, than configured via the LINGER option.

How to return the linger license earlier? lmborrow -return seems not to work, and I found out, this "work as designed"... but we have to give that license back earlier, as the linger was configured with 30 days.

Thanks,
Rafal

Basic MSI project InstallShelid automation using Powershell script

$
0
0
Hello,

I want to automate my Basic MSI project (.ism porject) using Powershell scripting. I'm using Installshield 2018 version.Through script, I want to update the below details and also need to handle errors occurred(if any).

Installation info -> General Info tab -> Product version, Title
Media -> Releases -> Express -> MSI Package File Name

Even, I'm unable to create an object and below is the code.

$designerProject = New-Object -ComObject "ISWiAuto24.ISWiProject"
$ismFilepath = "$scriptPath\Designer.ism"
$designerProject.OpenProject($ismFilepath)

Getting below error (this is partial error list).

New-Object : Retrieving the COM class factory for component with CLSID {520F427A-A0C0-48DA-B1D6-5AD84FEFD1A8} failed due to the following error:
80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
At D:\Murty Build Testing\ToolkitDesignerMSI\BuildToolkitOneDesingerMSI.ps1:78 char:24
+ ... $designerProject = New-Object -ComObject "ISWiAuto24.ISWiProject"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [New-Object], COMException
+ FullyQualifiedErrorId : NoCOMClassIdentified,Microsoft.PowerShell.Commands.NewObjectCommand

Plz anyone help me in this.

Thanks,
MurtyIN

Evalution startup error message

$
0
0
Hi,

When I began to try Installshiedl evalution version, a startup error message shows.

During "Preparing InstallShield", a dialogbox shows:

"InstallShield could be initialized."

Anything wring?

Best

MainEngineThread is returning 1601

$
0
0
I have a Suite installer that contains our primary MSI package. On a customer's machine the install fails when trying to launch our primary package with the error indicated in the subject line. Actually, it fails with any .MSI package it tries to start, such as SAP Crystal Reports, etc. Our support department manually installed the prerequisites.

The OS is Windows 7 sp1 x64.

The application.msi package exists and it does create the MSI log file with the following content:
Quote:

=== Verbose logging started: 5/8/2018 13:29:02 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\Users\ADMINI~1\AppData\Local\Temp\{7584249A-B949-4CBE-A398-3E9A6C75311F}\_is3581.exe ===
MSI (c) (E8:E8) [13:29:02:277]: Resetting cached policy values
MSI (c) (E8:E8) [13:29:02:277]: Machine policy value 'Debug' is 0
MSI (c) (E8:E8) [13:29:02:277]: ******* RunEngine:
******* Product: C:\Users\Administrator\AppData\Local\Downloaded Installations\{38BE6836-758A-43EA-9D20-83C3843B476A}\amazingcharts.msi
******* Action:
******* CommandLine: **********
MSI (c) (E8:E8) [13:29:02:277]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (E8:E8) [13:29:02:277]: Grabbed execution mutex.
MSI (c) (E8:E8) [13:29:02:277]: Cloaking enabled.
MSI (c) (E8:E8) [13:29:02:277]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (E8:E8) [13:29:02:277]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (c) (E8:E8) [13:29:02:277]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (E8:E8) [13:29:02:277]: MainEngineThread is returning 1601
=== Verbose logging stopped: 5/8/2018 13:29:02 ===
I was able to successfully install the MSI by creating a batch file with the correct commandline parameters, so I am confident that the MSI engine is running correctly.
It is almost as if something is blocking MSI from running from within another process.

We did have Microsoft Security Essentials disabled and the customer has Malware Bytes installed and that was disabled.

We did try msiexec /Unregister, msiexec /Register and restarting the machine.

Anytime we try to run repair on the suite installer, the repair fails as well.

Has anyone else run across this? What else can we try?

Setup type

$
0
0
Hi,

I have two setup type: one is client, theone is server.

I need copy two different sets of files for the client and server.

Could you give me some quick guidance?

Best,

During update changing installation path

$
0
0
I am using installscript project.
Is it possible to change the installation path of installer during update in install script project?if yes , then how?

Uninstalling and installing during update mode in installscript project

$
0
0
I am using installscript project.

We wanted to change the install location of existing installer during update.So, we are trying below approach:
1.Uninstalling
2.then Installing in same flow.

I am able to uninstall the setup using FeatureRemoveAllInMediaAndLog() function in OnUpdateUIBefore() function followed by OnMoveData() function.(In this call registry and entry in control panel is also removed)

After this i need to install the setup hence,i am calling OnFirstUIBefore(),OnMoveData(),OnFirstUIAfter() these functions,but in OnMoveData() function setup is not able to install properly i.e. files not copied into location path,no registry entry and no entry in control panel also.

Note:In OnFirstUIBefore() function, i am changing target directory i.e. installation path.

We tried using FeatureReinstall(),FeatureSelectNew() these functions after OnFirstUIBefore() and before OnMoveData(),but still not installing properly.
When we tried using FeatureSelectNew() this function we got unexpected error while updating xml files -2004 in OnMoveData().

Let us know if we can use any other functions?

Patch uninstall issue

$
0
0
Our product has two features. User can select server or workstation when install. Server provides the whole feature. Workstation has less files. I found a issue with the workstation patch uninstall.

Steps to reproduce:

1.Install with workstation feature

2.Install Patch1.

3.Install Patch2.

4.Uninstall Patch2 from workstation.



Expected result:

Patch2 can be uninstalled successfully and no extra folders appear in workstation.



Actual result:

After uninstalling Patch2 from workstation, server folders will appear in workstation.

Really appreciate if anyone can help to fix this.

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?
Viewing all 4553 articles
Browse latest View live