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

devenv.exe build fails w/ error : -6225: Resolving Visual Studio .NET project output

$
0
0
Greetings,

I have an installshield project that builds fine from within Visual Studio but when I attempt to build it from the command line, it fails with:

ISDEV : error : -6225: Resolving Visual Studio .NET project output "MyProject\MyProject.csproj\|Built"

I attempted to use msbuild, but our app uses WPF which causes other issues with InstallShield when resolving xaml references.

I was able to automate building all of the other components in a separate msbuild script and that completes successfully. Adding in the installshield project has been resulting in much grief.

I'm not sure how to solve this.

This is the command I'm using:

devenv c:\code\mySolution\src\MySolution.sln /build "Release|x64"

Any assistance would be appreciated.

Error -6003: An error occurred when streaming... when signing the MSI file

$
0
0
I have an issue that just started in the last few days. I have an standard MSI project that creates a setup.exe. As recently as last week I was able to have InstallShield 2012 sign both the MSI and the Setup.exe when I build the release. Now, whenever I try do so, I get the following errors:

ISDEV : error -6003: An error occurred streaming 'C:\Users\CarlM\Work\Dev\pD CP\001 Generic\001.2014.05.4.3\pD-CP-001.2014.05.4.3\pD-CP-Templates.isc' into setup.exe
ISDEV : error -6003: An error occurred streaming 'C:\Users\CarlM\Work\Dev\pD CP\001 Generic\001.2014.05.4.3\pD-CP-001.2014.05.4.3\pD-CP-Templates.msi' into setup.exe

As far as I'm aware, the build computer has not changed recently. It is running Windows 7 Professional SP1 and InstallShield 2012 Version 18 Service Pack 1.

I've checked the file permissions, and the login account has administrator privileges. I tried making a small test installer with a single file and get the same error. As soon as I set it to not sign the Windows Installer Package, then the error goes away. We have recently updated the code signing certificate, but have been using it okay for about 2 weeks. Not sure what's going on.

Thank in advance to anyone that can help.

Carl

Disable/enable ChangeFolder button on CustomSetup dialog based on Feature selected.

$
0
0
I am trying to enable/disable the ChangeFolder button on CustomSetup dialog, based on the feature which is selected in the tree, since some features HAVE to be in INSTALLDIR, whereas others can go to a different location.
In the msi log, I can see that MsiSelectionTreeSelectedFeature is set to the currently selected feature is the tree.
MSI (c) (0C:28) [14:54:46:881]: PROPERTY CHANGE: Modifying _IsSetupTypeMin property. Its current value is 'Typical'. Its new value: 'Custom'.
MSI (c) (0C:28) [14:54:47:881]: PROPERTY CHANGE: Adding MsiSelectionTreeSelectedFeature property. Its value is 'NewFeature1'.
MSI (c) (0C:28) [14:54:47:881]: PROPERTY CHANGE: Adding MsiSelectionTreeSelectedAction property. Its value is '3'.
MSI (c) (0C:28) [14:54:47:881]: PROPERTY CHANGE: Adding MsiSelectionTreeSelectedCost property. Its value is '32'.
MSI (c) (0C:28) [14:54:47:881]: PROPERTY CHANGE: Adding MsiSelectionTreeSelectedPath property. Its value is 'C:\Program Files (x86)\My Company Name\My Product Name\First\'.
But If I define a condition for the ChangeFolder button depending on the value of MsiSelectionTreeSelectedFeature property, it has no effect.
I read that on https://community.flexerasoftware.co...mSetup-dialog: "I found out the solution: we must use the SetProperty event on the Tree to set a property.".
I tried doing that, but it did not help.

Does anyone know how to handle this?

Thank you

lmhostid issue to generate host id does not work on linux 64

$
0
0
$ ./build -generateHostID
Network Interface for the specified address is not found.
Host ID for this machine =

Host ID could not be generated successfully for this machine.
Try using native executable at $IA_HOME$/fnp/libraries/lmhostid executable to generate host id(s)
Note: For Linux Distributions, it is necessary to run on a LSB(Linux Standard Base) compliant Linux.
For more information, on this, please refer to the user-guide or contact Flexera Support
$ ./resource/fnp/libraries/lmhostid
./resource/fnp/libraries/lmhostid: ./resource/fnp/libraries/lmhostid: cannot execute binary file
$ file ./resource/fnp/libraries/lmhostid
./resource/fnp/libraries/lmhostid: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
$ uname -a
Linux brlab-t15 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Error message is even pointing to the wrong path for lmhostid.

could not load BizTalk project (Bzitalk 2013 and BizTalk 2013 R2) after insall ISLE

$
0
0
Hi,
I got the following error after installing ISLE and tried to open my existing BizTalk project:

Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- BizTalk.Orchestration, "D:\Ben\Ben.Demo.Setup\BizTalk.Orchestration\BizTalk.Orchestration.btproj"


Non-functional changes required
Visual Studio will automatically make non-functional changes to the following projects in order to enable them to open in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted.
- Ben.Demo.Setup, "D:\Ben\Ben.Demo.Setup\Ben.Demo.Setup.sln"

Please any one help me.

Uninstall registry key not removed after updtae and uninstall

$
0
0
Hello,

I have the following behavior regarding the uninstall registry key (InstallShield 2011, InstallScript project):
  1. Installation of my SW automatically creates the uninstall registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{88F0882D-210A-4D4B-A302-A1AEB7D8D64D}"
  2. uninstallation removes it automatically => so far so good

Now I have the following scenario:
  1. Install the SW
  2. Update the SW by a new version:
    • uninstall registry entries are also updated, e.g. version keys (note: the ProductGUID has not changed with the update)
    • the folder 'C:\Program Files (x86)\InstallShield Installation Information\{88F0882D-210A-4D4B-A302-A1AEB7D8D64D}' contains the new files from the update
  3. Now Uninstall the updated SW => all files and folders are removed but the uninstall registry is NOT removed and in "Programs and Functions" the SW is still listed

Are there any ideas how to fix this behavior?

Sebastian

How to build a bin file for Mac

$
0
0
I need to build a installer as UNIX format on Mac, so user can use silence install for our product.
But now, I don't know which JVM can be bundled into the installer, any one have some suggestion?

I've tried lots of JVM which included into InstallAnywhere 2014, but when I run the installer on Mac 10.8, always show me "JRE liraries are missing or not compatible..."

Installing digitally signed driver with software

$
0
0
Hi, we distribute software with our product, the communication driver for this device uses kernel-module USBSER.SYS windows standard USB modem driver.
I've read that it is already digitally signed/authorized by windows but still need to digitally sign the .INF file with a CA to be able to install our software which includes the driver onto Windows 8. This I've done using a local private CA for testing.
In my MSI project I can digitally sign the setup, but this applies to the installation of our software not just the driver component.

There are 2 components, (1 for the driver .inf and .sys files).
How do I apply the digital certificate file to the driver component alone and not the setup as a whole?
Do I digitally sign the setup as a whole?
Or do I need to include all the files in the digital certificate catalog?

Incidentally I am using IS2011.
Any help will be much appreciated.
regards
Jim

ISSetupFilesExtract fails with error 2721 for a .msp fails on German OS

$
0
0
Hello,

I have created a new msp(patch) file using installshield 2010.The original msi has been created using Basic MSI and has English as default langauge along with German as one of the setup languages.
The installation of patch works fine on English OS. But when I install it on a German OS i get this error
"Fehler 2721. Die benutzerdefinierte Aktion ISSetupFilesExtract wurde nicht im Binärdaten-Tabellenstream gefunden."

Could someone help me out to resolve this issue?:(

Regards,
Ramya

How to create a 64-bit ODBC entry?

$
0
0
I'm having issues with creating an ODBC entry that's visible for 64-bit applications. The entries I create always go to the 32-bit version (C:\Windows\SysWOW64\odbcad32.exe) instead of the 64-bit one (C:\Windows\System32\odbcad32.exe) and because of that the created ODBC DSN is not visible for the DB list in our 64-bit configuration utility. I've tried the following:

-Change template summary of the whole project from Intel to x64 (we have both x86 and x64 releases defined in the same project)
-Associate the ODBC DSN entry with a component that's included only in the x64 release
-Move the component for the ODBC DSN entry from the default x86 installdir to the root folder for 64-bit components (which is made the installdir using a custom action in a 64-bit version) and marked the component as 64-bit

Am I missing something here? Should I give some additional parameters to the DSN entry?

Build a java application on a Windows 7 environment

$
0
0
Hello,
i have a java application that will run on a windows w7 platform only. In Install Shield - Application Files tab, i include the various libraries that the application used: - com, properties, resources, images, jars (these are additional jars) . The build is good, without any error. However, after i run a setup, i check the installation directory, only the jars folder is copied.

I also expect to see an exe file to start up the application, but i don't see it.

Please let me know what i have done incorrectly.

Thanks

Basic MSI: InstallDir Variable not set correctly on Minor Update???

$
0
0
Hi!

I'm using the INSTALLDIR variable in my Basic MSI setup for some Custom Actions. In general this works fine, but recently I noticed that this variable is not being set correctly for minor updates. In that case the variable is set to its default (usually "C:\ProgramFiles\ProductName"), which works fine if the application already was installed to the default location. But if the appliaction was installed to a different drive or folder, then the update fails because the Custom Actions that are using the INSTALLDIR property are referring to a wrong path (the rest of the setup is installed/updated correctly).

Any ideas what is going on? Is my setup somehow spoilt, or is that the default behavior?

Regards

Ralf

How to add event handler OnFirstUIAfter

$
0
0
Hi Friends,

I would like know, how to add the event handler named 'OnFirstUIAfter' to the RUL file with Installsheild 2014 DE?



Thanks,
Prasanth

InstallShield in VS2012 and encryption of app.config

$
0
0
Hello,
I have a windows application created in Visual Studio 2012 and InstallShield Limited Edition.
I want to encrypt the connection string in app.config.
I've googled and spent many hours researching to no end. Can someone please tell me how to do this?
In Visual Studio 2010, we could use the Setup project but in VS2012 this has been replaced with InstallShield.

:(
Thanks,
Debbie

Moving from 2 single instance setups for only one multiple instance setup

$
0
0
Hello,

Our company is trying to reduce the amount of setups we need to manage because or product has several configuration types, which have different features, pricing, etc.

At this time we have two lines "Executive" and "Professional" and we have a setup for each.

The time to add a third line is approaching, and since we have about 25 modules with each its setup, we now have 50 setups and will soon need 75, only for one single "family" of our product.

We are trying to use the multiple instance approach to have a single installer which installs either "Executive" or "Professional" depending on an external tool (setup launcher which will the define the INSTANCE_GUID).

We are matching the old PRODUCT_GUID with the INSTANCE_GUID so that the update is possible and to avoid having two entries in the add/remove programs.

Everything works well, unless updates from the old approach. The product is already on the market and so we need to worry about upgrades. It is impossible to ask every user to uninstall and install a fresh version at this time.

An update from the "old" "Executive" or "Professional" lines with the new multi instance approach actually works, but has the following problems:
1. Installation is not cached to the installshield installation information.
2. The ilg file in there is thus, not updated.
3. This makes any attempt to manipulate the installation from add/remove programs fail.
4. When i uninstall the product from the original, new, setup source, it succeeds without removing a single file.

on the OnUpdateUIBefore function i'm calling these functions
FeatureRemoveAllInMediaAndLog();
SelectInstallationType(); <-- This one selects the "Setup Type" that refers to the line/instance in context ("Executive" or "Professional").

Is there a way to implicitly remove all previous features, and install the ones i want in a single execution, while updating the ILG file on the installshield installation folder so that ALL the files from the setup are contained on the ILG file, so that the uninstallation works?

Complex situation i know, but any help would be appreciated :)

Thanks.

Orlando
--

Enable Window Feature .NET Framework 3.5 for Window Server 2012

$
0
0
Hi,

How can I automatically enable Window Feature of .NET Framework 3.5 during installer, for window server 2012 and window 8. Since this feature has been pre-installed with these windows, installed doesn't do anything. I tried Pre-requirest with .NET Framework 3.5, but that's just install .NET Framework 3.5 SP1, not enable the feature, right?

How can I enable this feature from installer?

I am using InstallShield 2012 Spring.

Yun

Silent Install not installing correct features

$
0
0
Hi everyone,

I've been have this problem for awhile and haven't found a reason why it happens. Our installer uses an xml that sets the $CHOSEN_INSTALL_FEATURE_LIST$ and $CHOSEN_FEATURE_LIST$ variables based on the xml elements that are read in. The plugin that reads this xml is placed in the pre-install phase of the installation. I've put debugs print statements to see what the value is, and it does contain the correct feature short names. I know that in the documentation for these two variables it says that "IA will interpret the string value of these variable and discard values that do not make sense". But the thing is most of the time the install is successful. I've seen it consistently happen when I change the install location of the application from the default one. I can't pin point the other scenarios where this happens.

Has anyone run into this or have an idea why this is happening?

Minor Upgrade COM issue

$
0
0
For years our application has been distributed as a major upgrade.
Management wants to try minor upgrades in anticipation of offering upgrades between major upgrades.

The problem I am having is that a minor upgrade does not seem to remove COM information for the past install. This seems to have the effect of confusing the application and the application errors on startup.

In the registry under HKLM\Software\Classes\CLSID\{guid}\InprocServer32\ there are two different versions represented.
Let's say that I release the application with file version 1.0.0.500. That is listed in the registry.
I then create a minor upgrade to 1.0.0.600. This too is listed in the registry.

How do I get the minor upgrade to remove the 1.0.0.500 reference on upgrade? Is this possible with a minor upgrade. What also confuses me is why the app does not simply pick the right one based on its manifest file? I would assume that the manifest contains the appropriate version.

Thank you.

EDIT: A major upgrade will remove the registry entries correctly. I believe that a minor upgrade will only remove registry entries when they have been added to the remove registry key on a minor upgrade. Of course trying to maintain the remove registry key for minor upgrades would be a futile exercise as every build would have changes.

Distribution Wizard - Changing the default naming Packages Programs in SCCM 2007

$
0
0
Distribution Wizard - I would like to change the default naming Distribution Wizard creates for Packages and Programs in SCCM 2007:
I would like to use the Distribution Wizard but, the default naming does NOT fit into our standards. I looked for XML and config files but, didn't find what I needed. Any help would be great.

User permissions issues when starting installed application through file associations

$
0
0
We are encountering some problems with an installer setup which we create with InstallShield 2014 Professional.

In the past we were using InstallShield 2011 Express to create a setup.exe for our software. Recently we purchased InstallShield 2014 Professional edition and we imported the existing .msi project file which we were using with the 2011 version.

We were testing the installer and noticed the following:

We ran the setup on a Windows machine, logged in as a non-admin user. Our setup is set to require administrator privileges and is set to install the application for all users of the machine. So we enter the admin password and the application is installed.

When a file is double clicked which has an association with our software through InstallShield, the application is not started. Instead an installer setup is opened which then gives an error message saying that it cannot find (due to access issue) files located in the folder where the setup had stored its temporary files (exact path:
C:\Users\ADMINI~1\AppData\Local\Temp\{21252CF5-549A-48CB-A987-5BCBBD63CE79}\). This folder is a temp folder in administrator account to which the user has no access (it is created during installation process and removed after).

If we open administrator temp folder by proving credentials as a user, Windows will remember them and surprisingly application will open normally (there isn’t set up window started). However when you remove those credentials, the error will come back again.

If we are logged in as administrator the issue does not occur at all.
Also if we install application as administrator and log as a user, issue is the same.

If we try to open the file using command line "access Denied" message is returned.

If we select the file and right-click and select option "Open as Administrator" then the application opens as expected.

We confirmed this issue on Windows 7 and Windows 8. Both issues do not take place in when using InstallShield 2011 Express installer.


We scratched our heads for a while now and cannot figure out what the problem could be.
Any help or pointers would be appreciated.


Thanks
Viewing all 4553 articles
Browse latest View live