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

Active product installation suddenly shows "Feature Transfer Error"

$
0
0
Hi,

We have a released product shipping for a while now and suddenly get a reproducible "Feature transfer error". The file in question is part of a larger set and other files in the feature are copied fine. (Verified with Sysinternals ProcessMonitor)

As far as I can tell neither the file in question nor the code for the installer (which is a InstallShield Install Script project) has changed (as in "at all") in recent weeks. (Last change to the installer was about a month ago.)

The problem affects both server builds, as well as local builds on the InstallShield development machines. We currently use InstallShield 2012 Spring for this product.

Internet searches for the issue did not lead to even a pointer into the right direction so far and I was hoping maybe somebody else on here has seen such a behavior in the past.

Path length appears not to be the issue (from inspection and judging by the fact that other files in the component with longer paths copy fine) and the file itself had no change since last year.


What can lead to this suddenly showing up?
Could you provide any additional pointers as to how best find out what causes the problem? (InstallShield debugger appears not to be triggered by the problem - but I might miss a configuration option.)

Thank you for the time to read this and any advise on the issue!
-T


System info: IS2012 Spring; Windows 7 x64 PRO target machines (multiple); Windows 7 x64 IS development systems;


Name:  IS2012SpringError.PNG
Views: 2
Size:  17.7 KB


Update with additional information (07/21/2014 04:00PM):

It looks like the file in question exists twice in the source tree and gets pulled in twice - both times via components that use 'Dynamic File Links'. Can it be that InstallShield has trouble generating unique files when packaging the components?

File system layout:

Code:

[...]
+ Folder A
  + Folder AA
      + Folder AAA
        + Folder AAAA
            - [...]
            - BadFile.txt
[...]
+ Folder B
  + Folder BB
      + Folder BBB
        + Folder BBBB
            - [...]
            - BadFile.txt

InstallShield layout:

Code:

+ Feature X
  + [...]
  + Component XX
      + Dynamic File Links for items under 'Folder AA' including sub-folders and BadFile.txt with it
+ [...]
+ Feature Z
  + [...]
  + Component ZZ
      + Dynamic File Links for items under 'Folder B' including sub-folders and BadFile.txt with it


Am I running into a weird corner case with the InstallShield compiler / engine?

Thanks,
-T
Attached Images
 

BASIC MSI project : SQL Authentication error in Silent Mode

$
0
0
In my installer i am saving all user inputs in to an encrypted registry key including SQL credentials that user provided when user installing product first time.
Therefore, when user installing a major upgrade version for this product my installer get saved user inputs from registry and fill all installer property respectively along with SQL credentials with a custom action that I write in VBScript.

I have created a system search the read a specific registry key value and store values in a Property "REG_DATA"

Then I have wrote a Custom Action in VB Script that read Property "REG_DATA", Decrypt it and split it into array and then store values into respective Properties. See this,


preserveParam = Session.Property("REG_DATA")

preserveParam = Decrypt(preserveParam)

'MsgBox preserveParam

PropArray = Split(preserveParam, "|")

server = PropArray(0)
auth = PropArray(1)
user = PropArray(2)
pass = PropArray(3)

If (Len(server)>0) Then
Session.Property("IS_SQLSERVER_SERVER") = server
End if
If (Len(auth)>0) Then
Session.Property("IS_SQLSERVER_AUTHENTICATION") = auth
End if
If (Len(user)>0) Then
Session.Property("IS_SQLSERVER_USERNAME") = user
End if
If (Len( pass)>0) Then
Session.Property("IS_SQLSERVER_PASSWORD") = pass
End if

This is working fine when i am running application without silent mode but i am getting following error when i am running setup in Silent Mode




1: Attempting to establish the SQL connection... Server: , Database: Test1DB
1: ADO Error: Number: -2147467259 Description: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. Source: Microsoft OLE DB Provider for SQL Server SQL State: 08001 Native Error: 17
MSI (s) (58!78) [14:36:29:104]: Product: VIDIZMO -- Error 27502. Could not connect to Microsoft SQL Server ''. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. (17)

MSI (c) (D0:C8) [14:36:10:139]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

Error 27502. Could not connect to Microsoft SQL Server ''. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. (17)
CustomAction ISSQLServerInstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)





I am running my installer in Silent Mode using command

setup.exe /s /v"/l*v \"C:\setup\4.5.5.1\setup.log\" /qb"

Record mode does not produce ISS file

$
0
0
Hello,

I have an installation setup which must be run in silent mode.
I've read many pages indicating how to do that but no solution works !

My Setup is build using InstallShield 2010 and launch an MSI containing the

I've tried the record mode by launching either the /r or -r switches. According to the documentation, the ISS file should be present in c:\windows folder but it is not...
Using the f1 switch to generate the ISS file in c:\TEMP\ folder "fails" also. No file is created.

How can I generate the ISS file for my installation in order to rerun it in silent mode ?

Many thanks.

Michael

Has anyone upgraded to FNMP 9.2 SP3

$
0
0
Is this upgrade worthwhile, if so what problems did it cure or cause.

Error -7184 when Merging Modules

$
0
0
I've ported a project from IS2010 to IS2014 where code was developed using VS2008. I had the port working, but then installed VS2010 SP1. Now, I get error -7184 when merging modules:

Merging modules...
Merging Microsoft Component Category Manager Library: D:\InstallShield\IS2014\Modules\i386\COMCAT.MSM
Merging MFCDLL Shared Library - Retail Version: D:\InstallShield\IS2014\Modules\i386\MFC42.MSM
Merging MFCDLL Shared Library - Retail Version: D:\InstallShield\IS2014\Modules\i386\MFC42U.MSM
Merging Microsoft (R) C++ Runtime Library: D:\InstallShield\IS2014\Modules\i386\MSVCP60.MSM
Merging Microsoft (R) C Runtime Library: D:\InstallShield\IS2014\Modules\i386\MSVCRT.MSM
Merging Microsoft OLE 2.40 for Windows NT(TM) and Windows 95(TM) Operating Systems: D:\InstallShield\IS2014\Modules\i386\OLEAUT32.MSM
ISDEV : error -7184: The FileName column of the File table includes characters that are not available on code page 1252: "?"
ISDEV : error -7184: The FileName column of the File table includes characters that are not available on code page 1252: "21BA~1|?"
(about 12 lines of this)

I tried changing the redistributables to eliminate some older modules that will not be needed, but I still get the error, but with a different merge module, for example:
Merging modules...
Merging Microsoft Component Category Manager Library: D:\InstallShield\IS2014\Modules\i386\COMCAT.MSM
ISDEV : error -7184: The FileName column of the File table includes characters that are not available on code page 1252: "?"
ISDEV : error -7184: The FileName column of the File table includes characters that are not available on code page 1252: "21BA~1|?"

The various msm files in my local IS2014 modules folder are the same as in the Program Files (x86)\Common Files\Modules folder. It seems that perhaps something in VS2010 SP1 has incompatible msm files?

Help with prerequisites - .NET Framework 3.5

$
0
0
Hello!

I have an application that requires .NET Framework 3.5 to run. Now what I want my installer to do is to check whether .NET Framework 3.5 or later is installed, and if it is not installed, it should install it within the installation itself.

Now detecting whether .NET Framework 3.5 is installed or not is easy, however I just can't make the installer install it. In the Project Assistant wizard, I went to Installation Requirements and checked Microsoft .NET Framework 3.5. Then I went to the Installation Designer, and there I went to Redistributables under Application Data, and downloaded Microsoft .NET Framework 3.5, and checked the box.

After the build is finished, I get a setup.exe and a folder called "ISSetupPrerequisites". In this folder there is dotnetfx35.exe (.NET Framework 3.5 installer) and a Helper.exe.

However when I run the setup.exe on a computer that does not have .NET 3.5, I get the error "Microsoft .NET Framework 3.5 needs to be installed for this installation to continue.", and then the installation ends without offering to install .NET Framework 3.5.

Does anyone have any clue how to make my installer install .NET Framework 3.5 if the user does not have it installed?

Btw, I am using Installshield 2010 Premier Edition, since I did not find a subforum for 2010 version, I posted it here.

"Install Shield Authoring Tool has stopped Working"

$
0
0
In Windows 7 (64bit), when I try to open 'installer.ism' in Install Shield 2012 Spring, all of a sudden, Am getting a pop up window stating , "INSTALL SHIELD AUTHORING TOOL HAS STOPPED WORKING". Am not able to open the installer.ism. Kindly let me the solution ASAP.
Note: A recent mandatory windows update has gone in. Does it have any impact on the install shield?

InstallScript GetExtents fails for high dpi systems

$
0
0
I have a script that uses GetExtents but it returns a failure if the user has a high dpi tablet.

Code:

nResult = GetExtents(nvDx, nvDy);
        sMsg = "True";
        if (nvDx < 1024 || nvDy < 768) then
                sMsg = "False";
        endif;
        SuiteLogInfo("Screen Resolution %d, %d", nvDx, nvDy);
        SuiteSetProperty("ScreenResolutionGood", sMsg);

On a Windows 8 tablet the values returned do not reflect the actual x and y values set by the OS but are modified by the dpi setting.
Is there a way to just get the x and y values independent of the DPI setting?

The customer had DPI set to 150% and our support team tried various screen resolutions. Each time the values come back and my check ends up as false.

Thank you.

Suite installer problems with redirected Users directory

$
0
0
By default the Suite package downloads and extracts files to the Users directory.
Windows allows users to redirect the users directory to a different path. One customer so far has their Users directory redirected to a server path.
However, some of our MSI packages we deliver, have a problem executing across a network path. Below is an example of that problem. Note carefully the path.

Quote:

MSI (s) (08:68) [13:09:03:875]: Product: MSXML 4.0 SP3 Parser -- Error 1316. A network error occurred while attempting to read from the file: C:\Users\SERVER\AppData\Local\Downloaded Installations\{AF42ADB5-DF50-4B1B-B045-8B8415C3B654}\Msxml4-SP3.msi
What is the best way to avoid this problem? Can I specify the download path to always be local to the system?

NOTE: Looking at this again, it is possible that the machine has a user called 'SERVER' I suppose. :) I am waiting for customer support to provide me with more information. If the user name is legitimately 'SERVER' then my suggestion to customer support is to make sure to delete the cached MSI prior to running install again so that the file will be downloaded again.

InstallScript project not invoking SQL scripts

$
0
0
Hi

I have an Installscript based project within IS2014 to install an application which can either work with a local database or use an existing remote database.

In the dialogs of the installer, the user can select if the installation of the local database is required. If he does so, during the installation process, the SQL Server 2012 Express LocalDB will be installed together with the SQL Native Client. This part works well so far.

But, in the Installation Designer under Server Configuration/SQL Scripts, I configured a server with target (localdb)\MyInstance (which is the instance I created within the InstallScript) and added the SQL scripts together with the text replacements in order to create the schema. These scripts are however never invoked,

Any idea what I have to do within the InstallScript part to have these SQL scripts executed?

Problems with "Open with ..." and "There was a problem sending the command ..."

$
0
0
Hi,

during the installation of our tool we add an entry to the "Open with ..." list of XML files, set via InstallShield's
Organization -> Components -> $file -> Advanced Settings -> File Types.
Under "Extensions" we added a folder "XML" with the ProgID xmlfile, "Open" only contains an argument of "%1". The fields under ProgIDs -> xmlfile have been left empty.

The config file for our installation contains the following part:
---
<table name="Registry">
<col key="yes" def="s72">Registry</col>
<col def="i2">Root</col>
<col def="s255">Key</col>
<col def="S255">Name</col>
<col def="S0">Value</col>
<col def="s72">Component_</col>
<col def="I4">ISAttributes</col>
<row><td>Registry1</td><td>0</td><td>Applications\xyz.exe\shell\Open</td><td/><td/><td>XYZ</td><td>0</td></row>
<row><td>Registry2</td><td>0</td><td>Applications\xyz.exe\shell\Open</td><td>FriendlyAppName</td><td>Your Friendly Neighbourhood App Name</td><td>XYZ</td><td>0</td></row>
</table>
---

On most machines this works as expected: Right clicking an XML file in the file explorer shows our tool in the "Open with..." list which can be used to start our program.

However, we've seen 2 machines where this doesn't work: Trying to open an XML file using the "Open with..." menu yields a popup message stating "There was a problem sending the command to the program".

Comparing the registries of the machines where the problems occurs with others shows one main difference:
Both have an entry Computer\HKEY_CLASSES_ROOT\xmlfile\shell\Open\command pointing to our .exe. On those machines where it doesn't work there exists an additional folder Computer\HKEY_CLASSES_ROOT\xmlfile\shell\Open\command\ddeexec .

When googling for the error message we found mainly cases of users having problems with Microsoft Office, but up until now we didn't find a generic solution.

Is there something we're doing wrong? Is there a way to avoid this problem?

TIA,
BjoernH

Path Variable Overrides Broken

$
0
0
We have upgraded from 2013 to 2014 and now all our projects are building with the wrong files.

The problem appears to be that Path Variable Overrides are not working properly if one path variable refers to another. Here is an example of path variables using an InstallScript project type:

VER_FOLDER = 2013
X86_FILES = C:\Build Files\<VER_FOLDER>\x86
X64_FILES = C:\Build Files\<VER_FOLDER>\x64

If I set "VER_FOLDER" in the "Path Variable Overrides" section of the media to "2014", it still uses "2013" in the path variables "X86_FILES" and "X64_FILES" when built.

It works fine if I directly override "X86_FILES" or "X64_FILES". However, the above is just an example; we have many more path variables that refer to VER_FOLDER.

This worked fine in earlier versions so how do I resolve this?

Generic SQL execution error

$
0
0
We have an InstallShield 2014 Professional InstallScript project which runs many scripts against SQL Server 2008 R2 or 2012. During QA testing, SQL execution failed with the following generic message: "There was an unexpected error running SQL scripts. Setup will now terminate." We have been unable to replicate this error at will and have not been fortunate enough to experience this issue while a SQL profiler is running.

Would it be possible for someone to list some of the possible causes for this generic error? We are able to obtain detailed error messages when SQL scripts fail and are exploring the possibility of adding code to detect the specific causes for these unknown errors. Any insight would be greatly appreciated.

Basic MSI Readme

$
0
0
Seem to be having a brain relocation moment.

Basic MSI project. SetupCompleteSuccess dialog.

I have the checkbox "Show the Readme File" (LaunchReadMeText) and the behavior and visibility is appropriate when installing.

However on uninstall, the checkbox option still shows visible.

The Show Condition for the checkbox is: (NOT Installed) and ((NOT REMOVE~="All") OR (NOT MaintenanceMode="Remove")) And (NOT ISENABLEDWUSFINISHDIALOG)

Any suggestions?

Remembering User and Password when Uninstalling and Reinstalling

$
0
0
OK here is the situation I have an install that installs a service. After the install the user goes into the services and enters their login Account information and password. After that everything is working fine. Now we release a new product that completely removes the old Product including the service but I need to remember the service's login and password so I can use them on the server that's install with the new version. How would I go about doing this? Are the login and password stored in the registry? Is this even possible?

64-bit Setup.exe

$
0
0
Does anyone know if InstallShield 2013 or 2014 include support for creating a 64-bit Setup.exe?

Thanks.

Service trying to access SQL Server 2012 using Local System Account

$
0
0
We are upgrading the database of our solution from SQL server 2008 to SQL server 2012. Using the same installer we found that we have a permissions problem accessing the database (using the Local System Account).

I found two potential solutions:

1. Give owner permissions to the guest user in the database (EXEC sp_addrolemember 'db_owner', [guest])

2. Change the Log on account in the service to the account that created the DB fix the problem also solve the problem.

The first solution is not very secure so we are thinking in requesting a user account during the installation to link it to the service.

Is there a way to solve this problem using the Local System account?

If we go with solution 2. How can we link in InstallShield 2012 a user account to our service?

Is there a different or easier way to solve this problem?

Thank you.

Installshield Authouring tool has stopped working.

$
0
0
When starting Install shield I get a message telling me that the "Installshield Authouring tool has stopped working." This happened a few days ago and i solved it by doing a system rollback, now it is happening again and the only new stuff has been Windows and Java updates. Is anyone else having this problem or is it just me and is thare any work round other than doing another rollback please?

Error (1001) with calling .NET Installer Class

$
0
0
Hey,

We have a Basic MSI Project that we need to deploy a few .NET assemblies. Those assemblies are calling a .NET Installer Class and the is trying to preform a COM Registration with a CODEBASE option. It appears that during the execution of the Installer Class Custom Action, other assemblies that the installer is going to deploy on the destination computer are not in GAC yet (because the sequent that the DLL's are being deployed and we didn't find a way to change it). At this point, we are getting Error 1001.

This is what Installer Class Install method is trying to do:

RegistrationServices regSrv = new RegistrationServices();
regSrv.RegisterAssembly(base.GetType().Assembly, AssemblyRegistrationFlags.SetCodeBase);

Any idea for overcome this issue?

Thanks,
Mano

Unwanted IIS_VERSION check

$
0
0
I have a basic MSI Installation for a simple .NET application. I was recently ensnared by the Windows Update SNAFU with KB2962872, so in the course of investigating I uninstalled and reinstalled InstallShield 2012, before evicting Internet Explorer entirely and resolving the issue.

Now when I use the Component Wizard to add a .dll component, I'm getting a System Search automatically added for the W3SVC MajorVersion registry value, stored in the IIS_VERSION property, along with a new binary and five unnecessary IIS-related Custom Actions. It doesn't happen when I add the component, just when I rename it to conform to my own naming scheme. It even happens when I rename the component in the Component table. This is new behavior.

No part of the application or any component we use has anything to do with IIS. It's entirely superfluous, and it's a complexity I neither need nor want in the installer. I can find no program option to disable it, and I'm not clear why InstallShield even thinks it should be added in the first place, least of all why renaming the component triggers it.

Why IIS, and how can I get InstallShield to stop adding this noise unbidden?
Viewing all 4553 articles
Browse latest View live