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

How to Run cmd Command in package

$
0
0
Hi
How to run cmd command in this package afther instalation
Code:

REM Create Port
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\Prnport.vbs" -a -r CRM-Printer -h 192.168.202.52 -o raw -n 9100

REM Install Driver
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\Prndrvr.vbs" -a -m "HP LaserJet 500 color M551 PCL6" -i "\\sccm2016\Source\APP\Script\Printers\Driver\hpcm500u.inf"

REM Create Printer
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -a -p "CRM-Printer1" -m "HP LaserJet 500 color M551 PCL6" -r CRM-Printer

Set Default Printer
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -t -p "CRM-Printer1"



Exit


installer console mode shows "null" instead of "created by installanywherw"

$
0
0
Hi ,
I created my installer using installanywhere 2015, it works fine for windows GUI. But for console mode in linux , it shows null instead of showing " created by installanywhere".
I am not sure what can cause this issue.
in attached image "DDM" is my product name.
Attached Images
 

Flexera Learning Center

$
0
0
Today we launched the new Learning Center via the Customer Community. Have you had a chance to check it out? Feedback for us? Let's hear it!

Not installing on Windows 10

$
0
0
Hello to all, thi is my first post!

I have an Installscript project that install fine on Windows 7, Windows Vista and so in but not on Windows 10.
During the installation I receive the message error: "1: The operation completed succesfully " after that, the installation end fine and I can see my application on installed programs (control panel) but I can't find anything inside the program files directory.

Can someone help me?

Thanks.
Claudio

Delete generated files during rollback

$
0
0
I have a basic MSI that installs and starts a service, which generates files and folders in the install directory. I have a deferred custom action with synchronous return processing (checking exit code) that checks for the existence of one of these files. If this file doesn't exit, the custom action will return an error, and the installation will roll back.

The files and folders that got generated by the service also need to be deleted during rollback, so I followed the steps here to do that: http://helpnet.installshield.com/ins...eferredCAs.htm. I?m trying to get the value of INSTALLDIR in the below MSI DLL custom action, but it doesn't seem to be working because when I do an MsiGetProperty of INSTALLDIR and display a message box with this value, it's empty.

Here's what I did:

INSTALLDIR is listed in SecureCustomProperties

Set Property Action
Custom Action Name: SetCAData
Property: RemoveGeneratedFiles
Property Value: [INSTALLDIR]
Return Processing: Synchronous (Check exit code)
Execution Scheduling: Always Execute
Install Execute Sequence: After InstallInitialize

MSI DLL Custom Action
Custom Action Name: RemoveGeneratedFiles
Function Name: RemoveGeneratedFiles
Return Processing: Synchronous (Check exit code)
In-Script Execution: Rollback Execution in System Context
Install Execute Sequence: After SetCAData

Here are some snippets from the install log:
Rollback: RemoveGeneratedFiles
MSI (s) (F0:54) [07:12:01:514]: Executing op: ActionStart(Name=RemoveGeneratedFiles,,)
MSI (s) (F0:54) [07:12:01:514]: Executing op: CustomActionRollback(Action=RemoveGeneratedFiles,ActionType=3329,Source=BinaryData,Target=RemoveGeneratedFiles,CustomActionData=C:\Program Files\Your Compay Name\rollback\)
...
Property(S): INSTALLDIR = C:\Program Files\Your Compay Name\rollback\

Does anyone have any advice on how to remove these generated files during rollback?

Thanks in advance.

Maintenance renewal Purchases

$
0
0
Hello everyone,

so how do you deal with maintenance renewals in FNMP efficiently?

Thanks
K.

Uninstall Redistributable library when uninstalling My application Installshield2015

$
0
0
Hi ,

I am installing Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23026 as a prerequisite with my application. The requirement is when i uninstall my application the prerequisite also should get uninstalled silently. Please let me know how can i achieve this, i have tried some ways searching over the internet, but didn't worked out.
i believe there will be a very simple and straight forward way to doing so , i am the newbie to installshield so unable to catch it.

Any comments are highly appreciated.

Thanks

Regards,

Ayush

Out of stack space

$
0
0
Hi ,

While building Installshield MSI project with large number of kits. I am getting the following error:
Error 28:Out of stack space

Please help me if anyone encounter similar issue.

Thanks
Antriksh

Installing InDesign Plugin, how to check for versions of InDesign that are installed?

$
0
0
Hello,

I'm very new to InstallShield, and I am only trying out the trial at the moment. Is it possible to do the following:

Have only one MSI/EXE that checks the computer for all installed versions of InDesign, and installs the program to those locations.

For example, if UserA has InDesign CC 2018, and UserB is has InDesign CC 2015, what do I need to do to use the same installer for both users? At this point, making a installation package for each version of InDesign in production would be annoying, so taking care of it in one go would be best. I can provide as much clarification as possible if needed!

Thanks,
Jeff

Buttons are hidden when dialog bitmap was resized

$
0
0
Hi

I have basic MSI project and having a problem with dialog bitmaps and buttons in it.
When I change the dialog bitmap size to cover entire dialog, at runtime some buttons are hidden and only after I move the mouse over them they are displayed and if the button is set as Enable=False even that doesn’t change its appearance.

First attachment show the default bitmap size and buttons looks OK.
Second attachment show resized bitmap size and 2 buttons are hidden.

Is there a way to solve it ?
Attached Images
  

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