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

InstallShield KB: True or False?

$
0
0
Hello,

I recently got into a discussion with a coworker about whether Modified files should be left behind on uninstall just by the virtue of their Modified date being newer than their Create date.

I was of the opinion that this was not how things functioned generally, but I did have a faint recollection of having been told this by someone once. Some searching turns up:


Files Are Left Behind After An Uninstall Or Major Upgrade
https://flexeracommunity.force.com/c...ROBLEM/Q112656

Largely an informative KB, except for this part:

"An unversioned file (i.e. TXT, HTM, etc.) has been modified since installation and an upgrade is being performed."

"If a file has been modified since installation, then Windows Installer assumes that it is user data and will not remove it during an upgrade. During an uninstall, this file will be removed if the containing component is uninstalled. In order to forcefully remove these files the RemoveFile table can be utilized."

In the second paragraph, I think it's missing the word, "Not", otherwise the reference to RemoveFile table makes no sense. That aside, what scenario is it describing?

Between my Coworker and I, we came up with the following scenario described by Aaron Stebner:

http://blogs.msdn.com/b/astebner/arc...9/9006538.aspx

But this still doesn't result in the file being left behind after an uninstall just based off of Modified date. As far as I am aware, reference counts, the permanent flag, component/feature breakage are what causes files to be left behind, and Modified date only comes into play with File Overwrite behavior (not file removal).

So what scenario is being described here? Any information is appreciated.

Why empty Session.Property( ALL ) in Custom Action(VBScript)?

$
0
0
Hi.

Express Project.

I was add custom action using VBScript.
But, All return is empty.

MsgBox "111 : " & Session.Property("SETUPEXEDIR")
MsgBox "222 : " & Session.Property("SourceDir")
MsgBox "333 : " & Session.Property("INSTALLDIR")
MsgBox "444 : " & Session.Property("APPDIR")
MsgBox "555 : " & Session.Property("TARGETDIR")
MsgBox "666 : " & Session.Property("SRCDIR")
MsgBox "777 : " & Session.Property("VersionNT")
MsgBox "888 : " & Session.Property("ProductName")

What's wrong?
Hope help anyone~ please....

Repackager Zone Identifier 1324 Error

$
0
0
So, I thought it was a good idea to get IMGburn and Irfanview repackaged without adware, and localized. Especially the localization seems to go wrong.

After the installation I've copied the language file and set the proper settings. Then I 've build the MSI package. But both packaged deliver some msi errors: This is a (translated) verbose:

MSI ( s) (3C : 68) [10 : 15: 52: 221] : Note : 1: 1324 2: Lcms.dll : Zone.Identifier 3: 1
Error 1324 The path Lcms.dll : Zone.Identifier for the folder contains an invalid character .
MSI ( s) (3C : 68) [10 : 15: 53: 541] : Product: IrfanView Installer - Error 1324 The path Lcms.dll : Zone.Identifier for the folder contains an invalid character .

Action ended 10:15:53 ??: WriteIniValues ??. Return value 3 .
MSI ( s) (3C : 68) [10 : 15: 53: 551] : Machine policy value ' DisableRollback ' is 0
MSI ( s) (3C : 68) [10 : 15: 53: 551] : Note : 1: 1402 2: HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Installer \ Rollback \ Scripts 3: 2
MSI ( s) (3C : 68) [10 : 15: 53: 551] : Note : 1: 1402 2: HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Installer \ Rollback \ Scripts 3: 2
MSI ( s) (3C : 68) [10 : 15: 53: 561] : No System Restore sequence number for this installation.
MSI ( s) (3C : 68) [10 : 15: 53: 561] : Unlocking Server
Action ended 10:15:53 ??: INSTALL. Return value 3 .

And Eventid 11324, revering to msi error 1603

So.. what's up with the zone identifier? Is that the ZCM Zenworks zone? How do I fix this?

Installer built using IS 2013 throws a reboot prompt in Win XP embedded

$
0
0
I am using InstallShield 2013 to build the installer for my product (well, the earlier versions were built with IS 2012, my team has started to use IS 2013). Everything installs fine till I attempt to install on Win XP Embedded SP2. Then I see a prompt as soon as the installer is run. This prompt says - "Setup has completed configuring the windows installer on your system. The system needs to be restarted in order to continue with the installation. Please click restart to reboot the system".

Any idea why this is happening? It also occurs on regular Win XP with SP1 and SP2 only.

thanks,

Find out which features are installed (Basic msi) from outside a setup?

$
0
0
Hi!

I'm having a Basic msi setup that is often executed by a separate software in order to allow our users to install different products sequentially. We call that software out install wizard as it makes the installations for our users easier. Now we have come to a point that it is necessary that our install wizard needs to know which features of an existing installation are installed/selected.

I've searched my registry with Product and UpdateCodes for my installed setup but never saw any hint on which featrures are actually installed. When doing a web search I only found threads on how to detect the installed state of a feature from wihtin a setup. Could anyone please point me in the right direction?

I'm quite sure there is a way to find out which features were installed for a setup, but where is that information kept and how can I access it from a regular application?

Regards

Ralf

DISK_SERIAL_NUMBER value ?

$
0
0
Does the value used for DISK_SERIAL_NUMBER have to be for the C: drive?? The situation I am asking is where Windows 7 OS is installed on the C: drive but IT has mounted a B: drive. After that, the license file doesn't work. It makes it appear that the license is not finding/seeing the C: drive. Any thoughts????

License Transfer

$
0
0
My laptop died so Dell is sending a new one but my license is tied to the dead laptop so how do I transfer the license to my new machine when it arrives later today?

Request: Change inaccurate description of "Overwrite Any Existing File" check box.

$
0
0
This post is pertaining the QuickPatch project file. I wasted hours on an issue as a result of a very inaccurate description for a check box in the QuickPatch project file.

In the QuickPatch IDE, "Files" view, on the right is the "Updated File" section. Just below the text field is a checkbox with a pretty good and lengthy description about what it does:
"Overwrite Any Existing File - Select this option to include this file into your setup as a whole file. This will allow you to patch over any previous version of the file. Non-versioned files will always overwrite when this option is selected." I read this description and thought, "this is exactly what I need!" In my situation, the file I need to update has a version of 17.0.0.0, and the latest file has the same version. I thought it was a slam dunk. But the file would not update. I spent so much time trying different things and doing google searches. Finally I stumbled upon the documentation for this checkbox http://helpnet.installshield.com/ins...dCommonTab.htm. It says that when this option is selected, Windows Installer considers the selected file to have a version of 1.0.0.0, and the file with the highest version wins. This is ONLY useful if both the target and selected file are unversioned.

This check box description is very misleading and inaccurate, and hopefully someone from Installshield will change it to save some other user a lot of time and frustration.

Installing a suite in system context - file system redirection problem? att: MichaelU

$
0
0
This problem occurs on Windows 7 64-bit. We have a suite built with IS 2014 that installs properly when run by an admin user. However, we have a customer using SCCM who experiences failures when they push the install with SCCM, which runs the install in system context. I have been able to recreate the problem using System Internals psexec utility to run the suite with the -s parameter. The first package the suite tries to install is an msi package that fails with the following message:

MSI (s) (2C:A4) [14:52:36:799]: Note: 1: 2203 2: C:\Windows\system32\config\systemprofile\AppData\Local\Downloaded Installations\{A7C4B3C0-F3A0-426A-A043-E13DBA123E52}\SSCERuntime_x86-ENU.msi 3: -2147287037

which says the msi file isn't there. This is technically correct as file system redirection actually places the file in:

"C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Downloaded Installations\{A7C4B3C0-F3A0-426A-A043-E13DBA123E52}\SSCERuntime_x86-ENU.msi"

MichaelU addressed a similar problem in his post https://community.flexerasoftware.co...?t-192926.html

Michael, could you, or someone else confirm that I have correctly determined the problem. If so, the implication is that any suite created with default settings will fail when run from SCCM or similar services that run the install in system context. I understand that the fix is to set the Cache Path to a directory that will not be redirected. In reviewing the list of properties available at the suite level it appears that either CommonAppDataFolder or CommonDocuments would be safe locations. Comments?

Creating an hourly Scheduled Task.

$
0
0
I have an InstallScript MSI project and I had created Scheduled Tasks. One of the tasks I need to modify this to be a recurring task to run ever hour. Does anyone know how to accomplish this? As the Scheduled Task node located under the System Configuration --> Scheduled Tasks only has the daily schedule type as the minimum interval you can create.

Patch Version not coming in Add/Remove Programs "View Install Updates"

$
0
0
I've created an MSI installation file using InstallShield 2012. After I've installed it, if I go to the "Add or Remove Programs" / "Programs and Features" in the Windows Control Panel I can see my program's entry and it also display the program's version.

I then created an update (patch) using InstallShield 2012. After installing the MSP file, I click "View installed updates" and see my an entry for my patch but the version field is empty.

How do populate the version of that installed update using InstallShield or the MSI API?

lmdiag shows only first Vendor Deamon in FlexNet Publisher

$
0
0
Hi,

I have successfully running six Vendor Daemons in my FlexNet Publisher installation. Works like a charm!

lmstat -a -c @SERVER shows me the information of all Vendor Daemons, thats okay.

But lmdiag -n -c @SERVER shows me only the FIRST Vendor Daemon! I need the expiration dates for all Vendor Daemons...!

Can you say me how to handle this? I have no direct access to the license files, only to the server.

Jerenomy

Unable to build multi language installers with Standalone build

$
0
0
Hi,

We've been using Installshield 2010 and the Standalone builder for a while and all seemed to work fine.

Recently we added a new Windows 2012 machine to our build server pool.

This machine is apparently unable to produce multi-language installers, for our installscript setups.

We've got the same standalone builder installed on it and on an old machine, but the new Windows 2012 machine only builds the default language.

Logs from the 2 servers using IsCmdBld.exe (please ignore the file location errors, the build process handles those...).

Both are x64, old is Windows 2003, new is Windows 2012:

======= Old Server. As you can see it is iterating through all the languages:

C:\Program Files (x86)\InstallShield\2010 StandaloneBuild\System>IsCmdBld.exe -p
"c:\temp\EAM110\EAM110.ism"
InstallShield ®
Release Builder
Copyright © 2009 Acresso Software Inc.
and/or InstallShield Co. Inc.
All Rights Reserved.

Build started at Out 16 2014 11:53

Created release folders
Checking string table references...
ISDEV : warning -7019: The build has detected the project contains a string tabl
e entry with the name 'PRODUCT_VERSION'. At run time, IFX_PRODUCT_VERSION and IF
X_PRODUCT_DISPLAY_VERSION will be initialized to value of the string table entry
, instead of the value specified in the project's Product Version property. As a
result, the string table value contained in PRODUCT_VERSION will be displayed a
s the product's version during the installation.
ISDEV : warning -7019: The build has detected the project contains a string tabl
e entry with the name 'PRODUCT_VERSION'. At run time, IFX_PRODUCT_VERSION and IF
X_PRODUCT_DISPLAY_VERSION will be initialized to value of the string table entry
, instead of the value specified in the project's Product Version property. As a
result, the string table value contained in PRODUCT_VERSION will be displayed a
s the product's version during the installation.
ISDEV : warning -7019: The build has detected the project contains a string tabl
e entry with the name 'PRODUCT_VERSION'. At run time, IFX_PRODUCT_VERSION and IF
X_PRODUCT_DISPLAY_VERSION will be initialized to value of the string table entry
, instead of the value specified in the project's Product Version property. As a
result, the string table value contained in PRODUCT_VERSION will be displayed a
s the product's version during the installation.
Generating RC file: _ISUser_0x0409.rc
Building dialog 12006
Building dialog 12031
Building dialog 12032
Building dialog 12053
Built 4 dialogs into resource file: _ISUser_0x0409.rc
Building RES file: _ISUser_0x0409.res


c:\temp\EAM110\EAM110\_ISUser_0x0409.rc (110): error RC2135 : file not found: V:
\prjNET\EAM110\MainLine\Deployment\brandingelements\eam110\SetupLateral.bmp
ISDEV : error -6118: The Resource compiler failed to build the RES file "c:\temp
\EAM110\EAM110\_ISUser_0x0409.res" required to link the DLL.
Generating RC file: _ISUser_0x040a.rc
Building dialog 12006
Building dialog 12031
Building dialog 12032
Building dialog 12053
Built 4 dialogs into resource file: _ISUser_0x040a.rc
Building RES file: _ISUser_0x040a.res


c:\temp\EAM110\EAM110\_ISUser_0x040a.rc (110): error RC2135 : file not found: V:
\prjNET\EAM110\MainLine\Deployment\brandingelements\eam110\SetupLateral.bmp
ISDEV : error -6118: The Resource compiler failed to build the RES file "c:\temp
\EAM110\EAM110\_ISUser_0x040a.res" required to link the DLL.
Generating RC file: _ISUser_0x0816.rc
Building dialog 12006
Building dialog 12031
Building dialog 12032
Building dialog 12053
Built 4 dialogs into resource file: _ISUser_0x0816.rc
Building RES file: _ISUser_0x0816.res


c:\temp\EAM110\EAM110\_ISUser_0x0816.rc (110): error RC2135 : file not found: V:
\prjNET\EAM110\MainLine\Deployment\brandingelements\eam110\SetupLateral.bmp
ISDEV : error -6118: The Resource compiler failed to build the RES file "c:\temp
\EAM110\EAM110\_ISUser_0x0816.res" required to link the DLL.



======= New server - Same standalone builder, but the IsCmdBld tool only processes one language...

C:\Program Files (x86)\InstallShield\2010 StandaloneBuild\System>isCmdBld -p "c:
\temp\EAM110\EAM110.ism"
InstallShield ®
Release Builder
Copyright © 2009 Acresso Software Inc.
and/or InstallShield Co. Inc.
All Rights Reserved.

Build started at out 16 2014 11:56

Created release folders
Checking string table references...
ISDEV : warning -7019: The build has detected the project contains a string tabl
e entry with the name 'PRODUCT_VERSION'. At run time, IFX_PRODUCT_VERSION and IF
X_PRODUCT_DISPLAY_VERSION will be initialized to value of the string table entry
, instead of the value specified in the project's Product Version property. As a
result, the string table value contained in PRODUCT_VERSION will be displayed a
s the product's version during the installation.
Generating RC file: _ISUser_0x0816.rc
Building dialog 12006
Building dialog 12031
Building dialog 12032
Building dialog 12053
Built 4 dialogs into resource file: _ISUser_0x0816.rc
Building RES file: _ISUser_0x0816.res


c:\Temp\EAM110\EAM110\_ISUser_0x0816.rc (110): error RC2135 : file not found: V:
\prjNET\EAM110\MainLine\Deployment\brandingelements\eam110\SetupLateral.bmp
ISDEV : error -6118: The Resource compiler failed to build the RES file "c:\Temp
\EAM110\EAM110\_ISUser_0x0816.res" required to link the DLL.
Calculating size of cabinet files...
Copying uncompressed setup files...
ISDEV : error 136: Could not copy file 'V:\prjNET\EAM110\MainLine\Deployment\bra
ndingelements\EAM110\Setup.bmp' to 'c:\prjNET\EAM110\Mainline\Development\Mainte
nance\MaintenanceManagementCore\bin\Setup\Disk Images\Disk1\Setup.bmp' "The syst
em cannot find the path specified."
Release - 2 error(s), 1 warning(s)
Log file has been created: <file:c:\prjNET\EAM110\Mainline\Development\Maintenan
ce\MaintenanceManagementCore\bin\Setup\Log Files\10-16-2014 11-56-53.txt>


Build finished at out 16 2014 11:56

I've copied the entire "2010 Standalone build" from the old server to the new to see if it did any good, but it didn't.

Multi-language installers is a key feature for our product, any help would be appreciated.

We have an Installshield 2010 Premier Edition license.

Thanks.

Orlando Ribeiro
--

Merge Module - Zero G Registry corruption help!

$
0
0
I have a project that installs a number of Merge Modules as part of the installation. However, after running the project's uninstaller, the Zero G Registry entries for the merge modules are still there. The uninstaller correctly removes the main product entry from the Zero G Registry, but does not remove the Merge Module product entries.

Does anyone have any idea what might be causing this?

Dynamic link file update issue

$
0
0
IS2013, Installscript project dragged forward kicking and screaming from IS6

We have a Help component/feature that uses dynamic file links. When the Help is regenerated and files are no longer needed, updating older versions of the app leave the obsolete files behind. Is there a way to tell the component or feature to remove any files not included in the current dynamic list?

I've tried setting up an Installscript function to remove the folders and hooking that in the OnInstalling event, but get run-time 'file does not exist' errors for what appear to be temporary files used in the unpacking.

Do I really have to iterate over the folders & files to do one-by-one deletes prior to the update install writing the new stuff to disk?

Dynamic File Linking and Folder exclusion

$
0
0
Hey Folks,
Has anyone found a way to do dynamic file linking and a Basic MSI project but to exclude files under a certain folder?

I was thinking it would be something like ./<directory>/*.* but it seems to ignore the start path...

Link radio button selection to which dialog to display next

$
0
0
I have Installshield 2014 - I want to have a new dialog that shows a radio button group, with radio buttons Yes and No (the text and value property is set accordingly for each button). I have this dialog created and inserted into the project, and it appears on the installer. The Radio Button Group property is set to INSTALLSERVER. When the user selects yes I want the next dialog to be displayed to be the SQLLogin. When No I want to display ReadyToInstall.

I have events set on the Next button

Event: NewDialog
Argument: ReadyToInstall
Condition: INSTALLSERVER=No

Event: NewDialog
Argument: SQLLogin
Condition: INSTALLSERVER=Yes

But nothing happens when I click the button. So it must not be setting the property properly.

Note that in the Property Manager I have set INSTALLSERVER=Yes and the Yes button is checked when I go to the dialog, indicating the property is working or visible.

How do I link which radio button the user selects to setting the property?

Launching Repackager Remotely - Fails on Build Process

$
0
0
All,

I very very new to AdminStudio. I jsut install AdminStudio2014 on a Win 2008r2 x64 server. I created all the Folder shares and Added a Dekstop Shortcut on a Win 2008 x86 server (for Repackage of 32bit apps).

I ran the RePackager app on the x86 system, but when I selected "Build" to create the MSI file I received the following message in the Log file:

Starting conversion ...
The InstallShield build engine cannot be initialized and thus, we cannot build MSI files.

Please reinstall the product.

Conversion stopped with one or more error(s)..



So is Installshield required to be installed on the remote systems as well? The Flexera documentation does not indicate so.

Thanks,

kim

copy actions

$
0
0
Hi All,

I have an IA project, in that, I have lot of actions, i want to create(repeat) some of the actions into another IA project. Is there any way to copy those action into another project. Can anybody please help me.


Thanks in Advance
Baski

UNC intead of Mapped Drive Letter

$
0
0
Hi,
I am trying to install a program which is using InstallAnywhere 12.5 Build 4181.
The installation package is located on a server disk, which I have mapped as X: to my computer (Windows 2008 R2).

When running the installer, I see that the path to pick up additional files (variable $EXTRACTOR_DIRS$) gets replaced with a UNC-path, rather than the mapped drive letter.
This is the only computer in different environments where this happens; on all other computers where I try exactly the same I see the mapped drive letter.

Because the SW I am trying to install does not support being installed via UNC, I am desperately looking for any type of setting (OS level) or any other reason that might cause this behavior to replace the mappen drive with the UNC path.

Thanks for your help
Michael
Viewing all 4553 articles
Browse latest View live