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

Quote of the day

$
0
0
Quote of the day
Thought I'd start a quote section for ya.
Do you love me because I am beautiful, or am I beautiful because you love me?
- Cinderella

Error building with content files

$
0
0
I can build wit no problem if I just use the primary output of a project. When I add the content files for that project I always get "ISEXP : fatal error -6100: Internal build error"

I'm stuck...


================= Logging started at 5/6/2013 11:10:23 ==================
Created release folders
AdminExecuteSequence table successfully built
AdminUISequence table successfully built
AdvtExecuteSequence table successfully built
AdvtUISequence table successfully built
InstallExecuteSequence table successfully built
InstallUISequence table successfully built
Directory table successfully built
Feature table successfully built
FeatureComponents table successfully built
Component table successfully built
Loading File table
Building File table
ISEXP : fatal error -6100: Internal build error
Express\SingleImage - 1 error(s), 0 warning(s)
================= Logging stopped at 5/6/2013 11:10:24 ==================
Log file has been created: <file:C:.....\Express\SingleImage\LogFiles\5-6-2013 11-10-23.txt>

Import SQL Scripts terminates ISDEV.EXE

$
0
0
Major problem - I have a SQL script that I am trying to import ins ISDEV 2012 Pro (sp1) and as soon as a click on import, ISDEV.EXE blows up, no trace or event in the Windows events.
If I open the script in SQL Management Studio and run it all works just fine!

Any ideas of hints??? :confused:

Blows me away that it just blows up without a trace or error message. :(

BTW - this only happens in IS2012 InstallShield script... partially works in Basic MSI.

32 bit installer issues

$
0
0
I have a single installer executable that will install on a 64 bit Windows 7 machine, but will not run on a 32 bit Windows 7 machine unless I have the Windows compatibility box checked set for Windows 7. Without the box checked, only the prereq files and ini files get created. Any help would be appreciated, as this blocks our application.

Install hangs, but only when part of OS deployment

$
0
0
First of all, I'm a total noob to packaging, so excuse my complete ignorance.

I have an MSI that was made by my predecessor using AdminStudio, and the MSI hangs during installation, but only when installed as part of an operating system deployment.

If I have a PC that is already imaged, I can use SCCM to deploy the app and it will install as normal. If I include that same app in a SCCM task sequence for OS deployment, the task sequence will hang for 2 hours on that app, then the task sequence will finally faill. After failing, I can log in to the machine and I find that the app did actually install. The MSI log for the app ends with "Custom Action Manager thread ending." That is the last entry before it started to hang. How should I go about troubleshooting this hang?

Individual logging of AdvancedUI packages

$
0
0
Hi,

I have created an Advanced UI installation in Installshield 2012 Spring Premier. In my project, I install an update from Microsoft (an EXE file) as well as an MSI.
My Advanced UI installation works fine and gets installed properly. My problem is that I am trying to figure out how to log :
1) The execution of the Advanced UI project. I use the /debuglog and it work fine.
2) The execution of the EXE installation in its own log file
3) The execution of the MSI installation in its own log file.
Package detail for the EXE :
- Enable logging support=Yes
- Logging command line=Empty
- EXE command line : /passive /log « c:\mylogfolder\mylog.txt
Package detail for the MSI :
- Enable logging support=Yes
- Log file= c:\mylogfolder\mylog2.txt
- Log option=Empty

How can I design my 2 packages details so that for each of the 2 a log file gets created under C:\mylogfolder.
Thanks

Looking for IAFileChooser CustomCode example

$
0
0
Hi,

Is there an example or a tutorial about using the IAFileChooser class in Custom Code? The current GerUserInput:Advanced does not populate the $USER_INSTALL_DIR$ IA variable until the Next button on the panel is clicked.

Regards,
Sam.

GAC DLL in Suite Installer

$
0
0
I have a Suite installer that uses a .NET library to handle Activation Codes to determine which product(s) to install.

In our currently broken implementation we run a pre-requisite installer that puts the library into the GAC and then launches the suite installer. However the standard advice of "Don't run child installs because they don't always work" is holding true and it only works on about half of our test machines.

To get around this I'm wanting to either
a) Have the Suite installer GAC the file prior to running the Activation Code screen. But since the Suite Installer does not manage "Components" that can be deployed into the GAC like I can do w/ an MSI there is not an obvious way to do this. So I need to know how to have the Suite Install GAC a library or...
b) Prior to the dialog asking for the Activation Code place the necessary library in a location ([INSTALLDIR]?) where the installer can access it as if it were in the GAC or on the PATH.

Any insight is greatly appreciated.

Many thanks!

rjsjr

Multiple SQL Connections problem

$
0
0
I will have three possible connections, they might be on seperate servers, or, all on the same server. I started with one connection and it worked fine, when I added the second connection, I started getting errors. Whether or not I run using the Ui sequence, or silently (and this will need to run silent, no SQL LOGIN dialog), I get "Error 27502, could not connect to microsoft SQL server ServerName. Invalid authorization specification". I then set the property IS_SQLSERVER_CONNECTIONS_TO_VALIDATE set to the name of the first connection only in the property table, and IsSQLServerValidate in the UI sequence right before the InstallWelcome, and when running with the UI I can get past the SQL Login dialog, but when it gets to the execution of the SQL scripts, the error does appear again.

I then put both connections in the IS_SQLSERVER_CONNECTIONS_TO_VALIDATE property, and the error came up in the welcom dialog. I was able to continue with the install, but ran into the error again in the SQL login dialog.

How do I get around this?

SETUPEXEDIR not returning the correct location of the Setup.exe

$
0
0
Hi,
I am using "InstallShield 2012 Spring-Professional" and my Project Type is "Basic MSI Project" and the output is compressed single MSI file.

As a part of install I need to copy the file which is also located in the same folder as Setup.exe.
Since I am using "Basic MSI Project", I used SETUPEXEDIR with MsiGetProperty as mentioned http://www.installshield.com/news/ne...etupExeDir.asp
But the problem is the value returned by SETUPEXEDIR is not the correct location of the Setup.exe, its showing some temporary location.

On reading few articles it seems that for "Basic MSI Project" I need to call SETUPEXEDIR at early stage of installation,
so I have done as mentioned by article http://helpnet.flexerasoftware.com/i...MSICASched.htm

But still no luck, Could anybody please help and suggest how to find the correct location of the Setup.exe for Project Type is "Basic MSI Project"

Thanks in advance
Regards,
Ashish

Registry for windows 2008

$
0
0
Hi,

I am trying to install my installer on windows 2008, which has both 32 and 64 bit files. It will be installed based on the user's choice (32 bit or 64 bit app).
When i install 32 bit version of the application, the registry data should be set under HKLM/Software/wow6432node/<data>
But i am seeing that it is being created under HKLM/Software/<data>
It works fine for windows 7.

I tried setting Disable registry Reflection to true. But it does not work for me.

Please let me know what i need to do here.

Thanks,
Rajeev.

Force selecting at least one of the sub features

$
0
0
Hi

Let’s say I have a feature with 3 sub feature in it how can I force selecting at least one of the sub features ?
( Basic MSI project )

Is it possible...?

$
0
0
Hi folks,

We're evaluating InstallShield 2012 Spring, and one of the requirements for us is to be able to build installers with absolutely no interface. It seems that when I remove all dialogs from a InstallScript installer I'm building for evaluation purposes (it needs to duplicate one we did with another product), I get exceptions thrown on running it. On looking in the one and only script, there is literally no code at all, and the debugger doesn't seem to be able to help here.

So...is it possible to build installers without interfaces, as in silent, no-user-intervention installers with this package?

Thanks in advance!
DDoutel

Invalid/Foreign characters in value fetched from registry

$
0
0
Hi,



I have an installer created using Installshield 2012 that depends greatly on the value of a Registry key written by some other application developed in-house.

I use RegDBGetKeyValueEx Installscript API to fetch the value.



This value is a directory path guaranteed to have a trailing backslash.

This value serves as the TARGETDIR for my installer.



The issue is that I often see a foreign character (Chinese, Japanese or Korean) appended to the backslash.

This causes my TARGETDIR to contain the foreign character. This pollutes my installation.



I feel this is some bug with Installscript API which wrongly translates the Registry value.



Please provide some inputs so that I may find the root-cause of the issue.

Referencing a Custom action vbscript file stored in source control?

$
0
0
I'm trying to reference a vbscript from our source control but am running into issues. The setup is as follows:

Windows 7
Visual Studio 2012 with InstallShield 2012 LE
Project/Solutions are store in source control using TFS, so that any of our developers can open the projects and make changes as necessary

In TFS, there is a file located at $/Source/SpecificProject/DeploymentFiles/File.vbs. The dollar sign ($) gets replaced on local machines depending on where they place their source files locally.

On my local machine, that path is considered to be C:/Source/SpecificProject//DeploymentFiles/File.vbs

On another machine, that path could be something different, for example: C:/user/userName/Desktop/Source/SpecificProject//DeploymentFiles/File.vbs

The Custom Action runs at the "Before File Transfer" part of the installation and has no conditions (it should always run).




Everything works until I try and open the project on another machine. The problem is that the custom action script can't be found. The reason is that the File name for the custom action is not relative to source control; it is trying to access the local version of source control from my machine, where the other machine has its local version in another directory.

The (seemingly) obvious solution would be to make sure that the File Name dynamically references the path specified by the developer. However, there doesn't seem to be a way to do this. You can't manually edit the File Name without a windows explorer dialog box appearing, asking you to pick the file.

I've looked into Path Variables but there doesnt seem to be a place to use them, and you still have to find a way to dynamically create the path. I've also played around with the explorere dialog, entering relative paths or Source Control paths (starting with $/ ), with no success.


There are a couple of alternatives that should work, but I feel like this should be something that can be done. If anyone has some other suggestions on things to try, please let me know

Thanks

-Ian

Extension Condition DLL in .NET

$
0
0
Writing a suite installer and am including an Extension Condition DLL in the project. I have a .NET version of the library that is included with my application that is being installed and I'd like to add on the Extension Condition APIs to it so that I don't have to write a C++ version of the exact same code.

Has anyone done this before? Is there a sample project I can look at? KB Article reference?

Many thanks!

rjsjr

UninstallString /I versus /X

$
0
0
I inherited a number of basic MSI projects.

One of the projects, after install, has an UninstallString of "MsiExec.exe /X{productcode}" while the other one has "MsiExec.exe /I{productcode}".

Can anyone tell me what controls the generation of the switch /I or /X? What wouldn't I always want /X in the uninstall string?

Thanks,

Wim

Install without uninstall

$
0
0
Hello,

I have an InstallShield project that works fine. My problem is that I must uninstall the previous level before installing updated files. Please share how to configure InstallShield where a user can install a newer version without uninstalling a previous version.

Thanks,
David

Major upgrading a single instance of a multi instance basic msi install problems

$
0
0
I've created a basic MSI project using Installshield 2012 with 10 instances. In order to do an upgrade of a single instance, I authored a custom action to have the user pick which instance to upgrade from a list derived from the ISACTIONPROP1 property. I then set the the ISACTIONPROP1 and MIGRATE property to the Product key of the chosen instance. Furthermore, I set INSTALLDIR to the appropriate installation directory of the chosen instance to be upgraded. I sequence this CA/dialog in the User interface between the InstallWelcome and DestinationFolder Dialogs.

Everything seems to work correctly, except for some files get misplaced. These files seemed to be the ones associated to components not directly placed in the root INSTALLDIR folder. Instead of putting these files in the chosen's instance's installdir, they get placed in the default installation folder.

Any ideas on what I am doing wrong? The correct instance is being removed and some of the new files appear in the correct directory. I put some debugging in the execute sequence and INSTALLDIR is set to the correct directory. However running the upgrade using setup.exe /v"/l*raev c:\log.txt" clearly shows some files writing to the default folder and other to the INSTALLDIR folder as set in the UI sequence.

I'm stuck and need help :confused:

Prerequisite SQL Server 2012 requires reboot sometimes but wont continue after reboot

$
0
0
I have an installer with a prerequisite SQL Server 2012 Express RTM (x86 &x64Wow). The command for that is /ACTION=Install /qs=true /IACCEPTSQLSERVERLICENSETERMS=true /UPDATEENABLED=false /TCPENABLED=1 /BROWSERSVCSTARTUPTYPE=AUTOMATIC /INSTANCENAME=daylight /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSYSADMINACCOUNTS="Builtin\Administrators"

So I have to change the behavior to continue the setup because I need to set the instance name of the SQL Server Installation.

So If I run the installer sometimes the setup of the prerequisite needs a reboot and in the log of the SQL Server setup it shows a computer restart is required because of broken fusion ATL. You must restart your computer before you continue.

In the prerequisite i have defined to reboot the machine and resume on reboot but it doesnt reboot and continues the installer. So the SQL Server isnt installed.

If I changed the prerequisite to prompt the user, the prompt for the reboot is shown and if i reboot the installer continues the setup but the setup of the SQL Server did not. So the SQL Server isnt installed again.

So anyone have any idea why I need a reboot sometimes, because sometimes it doesnt need one and everything works fine, I test it on a VM so it is the same enviroment all the time.

A reboot is ok for me but the SQL Server does not continue, so there is maybe something wrong with the installer.

Maybe someone have a solution for this.
Viewing all 4553 articles
Browse latest View live