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

InstallAnyWhere 2010 to 2013

$
0
0
Hi All,

I really need some help on upgrading InstallAnyWhere 2010 to 2013. When i upgrade to InstallAnyWhere 2013, there is some code gets generated atomically and due to that the build is failing.

for example:
<property name="substituteUnknownVariable">
<boolean>false</boolean>
</property>

<property name="ruleExpression">
<string><![CDATA[]]></string>
</property>

How to disable these options? or is there anything else i am missing in the upgrading process?

Thanks,

Issue setting permissions for ProgramData on Windows 8

$
0
0
Issue setting permissions for ProgramData on Windows 8

We're having issues where Users with Windows 8 can't edit common configuration files that were installed in CommonAppData (e.g, C:\ProgramData\OurCompany\OurProduct) by our Installshield installer. They either get Access Denied errors or the files get saved to the VirtualStore. Obviously, we'd like to avoid both issues.

We haven't experienced these problems with previous versions of Windows (7, Vista, XP).

If the folder is manually updated by an Admin to allow Full Control to the Users Group after installation, then there are no problems.

So we've tried to replicate that in Installshield by giving Full Control to the Users Group on the folder that is created by the installer in CommonAppData . However, the permissions do not get inherited by the child folders and files.

Are we doing something wrong? Do we need to set the permissions for every single file and folder in Installshield?

how Create installshield from visual studio 2013 to install office add-in

$
0
0
hello.
I am trying to create an installer which will install that office excel or word add-in and create a desktop short cut for the excel sheet and document in which the add-in is used.
How can I be with a installshield, of my project to make installation that the installation program will automatically install the Office?!
:confused:

Detect uninstallation of prev version happening during Major upgrade

$
0
0
I have a Basic MSI project which does a major upgrade of previous builds.
It uninstalls the previous version and then installs new version.
I have added a customized warning message when user clicks on Remove in Add/Remove Programs so that user can still cancel uninstallation
if he has clicked by mistake.
But during upgrade also the same message is coming which I want to hide during upgrade.
since this message is in Uninstall logic.
if user selects on cancel then it will be a problem as upgrade will not happen.
Is there any way to detect if this uninstallation is happening as part of major upgrade or then I dont want to show this message.?

How to use this software

$
0
0
I am new on this site,. Help me use on this site.

Problems removing registry keys with Registry table

$
0
0
I Have an InstallShield MSI project installing/un-installing on a Windows 7 machine (but don't think OS is the issue).

During the install I add new registry keys under an existing key in 'HKLM\Software\Company Name\App name'.

During the uninstall I add entries to the registry table to remove those keys. i.e. an asterisk for the name field and NULL for the value field, set against a unique identifier and a component that is to be uninstalled.

If I do this for a single level of key and its values then the uninstall works, clearing away all values and the key.

However, If I add a sub-key to the first key, I am unable to get the uninstall to remove either key or any values.
N.B. The Installshield documentation says the "-" entry in registry table will remove sub-keys and values.

I have tried:
1. Just submitting the same (single) registry table entry to remove the top key.
2 Adding another nearly identical registry table entry to remove the lower key. Done this placing the new registry table entry in before or after the original entry.

Since this worked for a single key level I must consider this is simply an ordering problem, or that there is a way of insisting all sub-keys are removed when submitting the original entry (but don't know how to do that).

Q. Does any one know what more is required to do multiple key levels ?

Fatal error -6199: ISCmdBld.exe fails to build XML based InstallShield Projects.

$
0
0
Hi,

I've just ported my binary based ISM to XML based and have also created a few DIMS in Installshield Spring 2012 Premier. Everything builds fine on my machine (which has IS 2012 installed) with IsCmdBld.exe. But on a build machine IsCmdBld.exe simply fails to load any XML based ISM. We do not install IS 2012 on our build machines and even IS standalone version is not installed on build machines. We keep standalone version in a zip file and extract it before building installers. However if standalone build is installed on build machine then it works fine.

Below is the error I get in verbose log:

[exec] DoUpgradeAndBuildEx
[exec] DoUpgradeAndBuildExInternal
[exec] DoUpgrade
[exec] DoIsmUpgrade
[exec] GetNewFileName
[exec] spProject->Open Failed
[exec] ISDEV : fatal error -6199: Internal build error
[exec] Unspecified error

It doesn't seem to have anything to do with DIMS. Even if I just have an XML based ISM it fails with above error.

Is there a way so that I don't have to install standalone build and am still able to build XML based projects??

Is it possible to define a language transform for LoadStringFromStringTable?

$
0
0
I'm having a problem with localizing custom question dialogs and possible custom error messages during uninstallation. If I install my package in a language other than English, everything works fine until I get to uninstallation. The default dialogs are shown in the non-English language like they're supposed to, but by the time my deferred InstallScript custom action tries to fetch a translation for the message I need to show, the result is in English. I've tried both string constant operator @ and LoadStringFromStringTable function, and while the rest of the uninstallation seems to know what language transform to use, this doesn't seem to apply to InstallScript functions.

Previously I've worked around this by having another custom action write the localized strings to a property that's then passed as CustomActionData to my deferred custom action, but for some reason trying to read those strings from the property in my deferred function fails in Windows 8.1. Could this be because there are variable placeholders and escape sequences (@, \n) included in those strings?

How could I get my uninstallation to be localized properly and work on Windows 8.1 as well?

Watch Ride Along Online

$
0
0
=========================

Download Hunger Games Catching Fire Movie. This is Suzanne Collins’ nefarious interpretation of our image-driven society, and it’s a confrontation that works even better on screen than it does in the publication. This is what sets Catching blaze apart from the mindless amusement that generally dominates the carton office.

Watch Hunger Games Catching Fire Online. It’s a far deeper exploration of newspapers and character than any thing you’d ever expect out of the Transformers canon, a rare case when an author’s standards are successfully augmented by Hollywood extrapolation.

Watch That Awkward Moment Online. That Distressing Time is bad, but it’s hardly the most serious. It wants to be one of those we-had-a-deal comedies, in which the figures accept to to be a aspect of in or avoid some sex-related or loving marriage, with Seinfeld’s pact being the milestone of the category.

Watch Ride Along Online. According to their complimentary co-stars, the chemistry between comedian Kevin Hart and actor/rapper Ice Cube in the new buddy-cop comedy travel Along can't be denied. Could Cube and Hart be the best policeman duo since Bad Boys, hurry Hour and/or 48 Hours.

=========================

Watch Thor The Dark World Online. Who doesn't love Tom Hiddleston's portrayal of the god of mischief known as Loki? Who also really enjoyed Thor: The Dark World? Well have no fear because today we are providing some Loki bonus content that is to be shown in the release of Thor: The Dark World in just a few weeks.

Watch Frozen Online. The "Frozen" cast couldn't hold it back anymore, so they united on Sunday (Feb. 9) for a live performance of the beloved Disney movie's songs. Kristen Bell, Idina Menzel and Josh Gad -- who emceed the event -- roared through the soundtrack highlights for a handful of film-industry insiders.

Watch I Frankenstein Online. The 3D horror-action hybrid, starring Aaron Eckhart as Victor Frankenstein's monster 200 years after its creation, could develop $12 million to $14 million in permit sales through Sunday in the U.S. and Canada, according to persons who have glimpsed pre-release assembly reviews, though softer projections put it at $10 million.

Download I Frankenstein Movie. Apparently, the folks behind I, Frankenstein were worried that the detractors would respond to the movie like torch-wielding villagers, so they determined not to computer display it prior to its release in theaters.

=========================

Watch The Nut Job Online. Way more joy than its mid-January release date would have you believe, The Nut Job is a delightfully goofy slapstick cartoon with a surprisingly dark heart. A noirish heist flick about a group of hungry animals trying to steal a nut shop in an effort to stockpile nourishment for winter.

Watch RoboCop Online. Yet, 27 years therefore, so much of Verhoeven’s initial vision, inspired by Edward Neumeier and Michael Miner’s script, has not only come to overtake, we’ve disregarded how much of it utilised to be absurd. In the remake, finding satire may verify impossible.

=========================

IA License problem when running the command-line compiler

$
0
0
I am getting a license error when I run the command line compiler for my licensed version of Install Anywhere. When I run the interactive version all is fine. The exact error is:

The evaluation period of InstallAnywhere &reg; 2013 has expired.

How do I activate the license for the command line compiler without disabling the interactive version. I need both on the box.

OS environment question

$
0
0
I'm just starting to get my hands dirty with Repackager and found a situation regarding 32/64-bit environments.

For example, when repackaging Paint.NET, in the project directory I can see files to be installed in the PROGRAMFILES64Folder. I repackaged this app on a 64-bit OS, so that makes sense. However, what would happen if I tried to deploy this onto a 32-bit system (since there's no PROGRAMFILES64Folder)? Do I need to repackage apps on both 32-bit and 64-bit OS, to accomodate deployments to both environments?

Powershell CA not logging or reading properties

$
0
0
I am launching a powershell CA from the click of a button, it sends me an email thru office 365. not a problem(I have an inbox full!)
I am trying to get PS to read either string values or properties, or both, so I can have a user fill in all of the info, then it sends on the button push of the form.

If I hard code the connection and mail info everything is fine. If I try to set it to read properties or strings, I get empty strings, yes there are values in there...I checked in the IS log.
Speaking of which.....The trace-suiteinfo -LogMessage does not log a thing in my log when I click show logs, I see that it launched the CA, and I get the email, so I know that worked.
I further tested by setting the subject line to each var, (the property one and the string one) both were blank in tests.

what am I missing? anyone have an example of a simple PS script that works to retrieve what I want and use it?
Thanks!!!


Powershell code snippet

Set-ExecutionPolicy Unrestricted -force
trace-suiteinfo -LogMessage "POWERSHELL:INFO - Going to try and retrieve NEW_STRING24"
$PropVal = get-suiteproperty -name SMTP_NETWORK_HOST
$StringValue = resolve-suitestring -StringId NEW_STRING24
trace-suiteinfo -LogMessage $StringValue
trace-suiteinfo -LogMessage $PropVal


$emailSmtpServer = "smtp.office365.com"
$emailSmtpServerPort = "587"
$emailSmtpUser = "myuser@mydomain.com"
$emailSmtpPass = "MyPass"

$emailFrom = "myemail@mydomain.com"
$emailTo = "mymail@myotherdomain.com"

$emailMessage = New-Object System.Net.Mail.MailMessage( $emailFrom , $emailTo )
$emailMessage.Subject = "Subject is: " + $StringVal + " -- Propval: " + $PropVal
$emailMessage.IsBodyHtml = $true
$emailMessage.Body = @"
<p>Let us see if this works from IS CA....<p>
<p>Here is a message that is <strong>HTML formatted</strong>.</p>
"@

$SMTPClient = New-Object System.Net.Mail.SmtpClient( $emailSmtpServer , $emailSmtpServerPort )
$SMTPClient.EnableSsl = $true
$SMTPClient.Credentials = New-Object System.Net.NetworkCredential( $emailSmtpUser , $emailSmtpPass );

$SMTPClient.Send( $emailMessage )
exit(0)

LAX Graphical Launcher Trashes java.library.path setting in LAX properties on Mac

$
0
0
I setup a LAX Graphical launcher for the Mac version of my installer. When I run the graphical launcher, it is changing my settings for java.library.path. When I set it to do a console launch it works properly. Here is my setting in the LAX properties:

lax.nl.java.option.additional -DtasDir=$USER_INSTALL_DIR$$/$tas -Djava.library.path=$USER_INSTALL_DIR$$/$tas$/$bin

When I run the console launcher, my program tells me the correct value for java.library.path and my JNI libraries load just fine:

tasDir=/Applications/atm/tas
java.library.path=/Applications/atm/tas/bin

When I run the graphical launcher, my program tells me a completely different path that does not include my LAX properties setting and the native libraries fail to load. My program tells me the following about java.library.path:

tasDir=/Applications/atm/tas
java.library.path=/Applications/atm/tas/bin/tas.app/Contents/Resources/Java

In both versions (console and graphical) my tasDir parameter is passed to the program correctly. However in the Graphical launcher, it looks like java.library.path is getting overwritten with the Mac path to the LAX executable.

Is there something else I need to do to get my java.library.path setup properly to run on a Mac?

Thanks,
Steve Windham

downloadable prerequisite with changing URL's

$
0
0
So how do you deal with a prerequisite that must be downloaded and the URL changes?

Am I stuck with a launch condition?

Use MSIGetProperty() but get NOTHING

$
0
0
Hello,

I have used a dialog to get some information from the user in OnFirstUIBefore function, and have used MSISetProperty() to store the information.

Then I wanted to use the information in the feature_installed function by MSIGetProperty(), but got nothing.

What's the problem with it and how can I fix?

Font used by InstallShield12 itself

$
0
0
This is what I saw from my InstallShield12. Some string are wrapped and gone and some UI totally lost its layout. I suspect it is because my computer don;t have the correct font used by Installshield. Does anyone know the font used by InstallShield12 itself or any other soluitons that can help me?

Thanks

Name:  1.PNG
Views: 12
Size:  21.5 KB
Name:  2.PNG
Views: 8
Size:  18.6 KB
Attached Images
  

Cannot set OS Version to multiple values

$
0
0
I am using InstallShield 2013 LE in Visual Studio 2013 (apologies in advance if this is the wrong forum, but since the other one is labelled 'Express' I had to make a guess).

In step 5, 'Define Setup Requirements and Actions', under System Hardware Requirements, I can select 'All Operating Systems' under 'OS Version' or I can select a single OS. But if I try to select multiple OSs using the checklist I get an error message 'Field "Condition' of table "LaunchCondition": The string is too long for the length specified by the column definition.' I used to be able to do this in earlier versions of IS.

Is there a workaround for this? I need to specify Windows versions after XP.

Command Line Build Path Variable Issues

$
0
0
Code:

"C:\Program Files (x86)\InstallShield\2013\System\iscmdbld.exe" -p "C:\InstallShield 2013 Projects\MyProjectTest.ism" -l CODE_BRANCH="Sapphire" -l INTERNALVERSION="2.0.0.76" -a PROJECT_ASSISTANT -R SINGLE_MSI_IMAGE -x
We are running the above code to build a project (Basic MSI). In our path variables we have 3:

CODE_BRANCH
INTERNALVERSION
SOURCE_PATH = \\FolderLocation\<CODE_BRANCH>\Blah\<INTERNALVERSION>\Blah

If we use SOURCE_PATH and just set that one variable to be replaced it works fine, but it appears the way the build is working if you try to set two variables that are stored in another variable its ignored.. Am I right or am I missing something? Any help would be appreciated.

Repackager 2013 Build Error (ISDEV Error 5008)

$
0
0
I have recently performed a snapshot capture of a package I need to recreate that has around 20 separate programs. The capture is being done on a Windows 7 64-bit virtualized workstation. The capture seems to have worked, but when I choose to "Build" it through Repackager, it errors with "ISDEV Error -5008: intel64 or amd64 must be specified in the template of the summary." When I attempt to open the project using InstallShield 2013 but it says it cannot open the file and must be opened using Repackager. How do I fix this error using Repackager?

I have searched the Internet for help on this error but everything points to the InstallShield Template fix, but that is not an option.

Thanks for any help you can provide.

How should I programmatically do a "Manual Return"?

$
0
0
Scenario: a license was activated on a customer's computer in trusted storage, then the customer's hard drive was formatted without returning the license. In FNO I can go to Support Licenses, find and select the fulfillment, then click Support Actions - Return. I want to do the same thing through code.

I'm trying to use the LicenseService.returnLicense() function, but it's (almost) always failing. I give returnLicense() a fulfillment ID for the activated license, and it comes back with the error "9000: No data records were found. [Incident# ...]" I am positive I'm giving it the corrrect fulfillment ID.

Interestingly, I tried with a fulfillment ID for a *certificate* license, and that worked. But any time I try with an activation license, it fails with the same error.

Anybody have any advice? Am I misunderstanding the purpose of this API? How can I troubleshoot?

I have looked in the fno log, found the incident #, and it has a call stack that includes the function "getCertificateFulfillmentByID". Is returnLicense only supposed to work with certificate licenses? I would find that surprising...

Also in the call stack I consistently find a "FLEXnetHibernateException". That seems suspicious and perhaps indicates this is a bug or misconfiguration...

Thanks in advance for any help.
Viewing all 4553 articles
Browse latest View live