Questions tagged [installscript-msi]

60 questions
0
votes
1 answer

character ASCII code in InstallScript InstallShield

I want to keep user from entering character > ASCII 127 in one of the password field in installer. I googled but didn't find any direct way for this, currently i'm using: CHAR ch; STRING ASCII; NUMBER nASCII; for nCount = 0 to…
0
votes
2 answers

Get value from edit field on a custom dialog and save in registry using InstallScript MSI Project type

I'm using Flexera InstallShield 2021. Background: Before I was using the Basic MSI project where on the custom dialog I added an edit field and by using its "property" field I bound the property name with it. Further I use the [property name] while…
Imran Yaseen
  • 543
  • 1
  • 5
  • 20
0
votes
0 answers

How do I add Product Name on Confirm Uninstall Prompt?

I have created an InstallScript MSI project installer and during its uninstallation, when I click on Uninstall option in Add\Remove windows a Confirm Uninstall prompt appears with Yes or No button. What I want is to display the product name as a…
SRP
  • 999
  • 4
  • 21
  • 39
0
votes
1 answer

How can I tell (programmatically) when an Installshield installer is running silently?

I have a history of Installscript MSI installers (that have been replaced by Basic MSI installers), and when I uninstall them I need to know if the uninstall is being run silently or not. I run some custom code that checks for the existence of .iss…
Ben_G
  • 770
  • 2
  • 8
  • 30
0
votes
1 answer

How to get the value entered in the Username field of sdLogonInformation dialog and use in another rul file

I am using Installscript-MSI project project. For getting username and password from the user, I am using sdLogonUserInformation dialog. For example username and password stored in the variables szUser, szPassword respectively. Now I want to use…
Deepak Sabastein
  • 197
  • 3
  • 16
0
votes
0 answers

How to stop logging of XMLFileChanges in InstallShield?

I have InstallShield project for one installer. I have added XML File Changes in that. These XML file changes have some data which I'm adding in the XML file during installation. All the XML file changes are getting logged into log file. But I don't…
Ajit Medhekar
  • 1,018
  • 1
  • 10
  • 39
0
votes
0 answers

how to get the directory launched from in c#

I'm running a C# custom action (just a class library) that gets called from an InstallShield installer and I need access to the folder where the .exe was launched from. I've…
0
votes
1 answer

How to read XML node's value in InstallScript

I have following XML file. SampleData I want to read the value "SampleData" of node Config1 in InstallScript function. I tried properties text, value, nodevalue. But none of it…
Ajit Medhekar
  • 1,018
  • 1
  • 10
  • 39
0
votes
1 answer

InstallShield partially removes program after cancelling its removal

I've got an Installscript MSI project that's behaving a bit oddly. Following a successful installation, if I launch the installation file again, I get a pop-up with a question: "Do you want to completely remove the selected application and all of…
IdanDe
  • 61
  • 1
  • 6
0
votes
2 answers

Uninstalling an InstallShield Installscript MSI program using C# silently

This is going to be very specific to InstallShield, so I doubt anyone has dealt with this before, but I wrote a batch file to uninstall prior versions of our product and it doesn't work. (We always uninstall prior versions prior to an…
Ben_G
  • 770
  • 2
  • 8
  • 30
0
votes
1 answer

Base64 decode in InstallScript installer

I have one InstallScript installer. In this installer, I wanted to encode and decode one string using base64 encoding/decoding. Is there any function or API available in InstallScript to achieve this ?
Ajit Medhekar
  • 1,018
  • 1
  • 10
  • 39
0
votes
1 answer

MSI write the TARGETDIR to textfile

How to write MSI's TARGETDIR to a textfile? So that my program can refer to the path written there.
karikari
  • 6,627
  • 16
  • 64
  • 79
0
votes
1 answer

How to add count down timer in InstallScript code?

I have created a Basic MSI project and in that I have written a InstallScript Custom Action to download a file from server. I used CopyFile() function for this. I'm also showing sdShowMsg() during this download. But when the download server is not…
Ajit Medhekar
  • 1,018
  • 1
  • 10
  • 39
0
votes
1 answer

Unable to deselect redistributables in InstlallShield (where did the checkbox go)?

I have an InstallShield 2013 InstallScript MSI project and I changed the view on the Redistributable tap and now I can no longer see the checkbox that allows you to deselect a redistributable. Unfortunately I don't remember what I did to change the…
Ben_G
  • 770
  • 2
  • 8
  • 30
0
votes
1 answer

InstallShield 2013 SQLServerSelectLogin screen doesn't populate

I've inherited an InstallShield 2013 InstallScript MSI project that installs our product and I'm really new to IS. I've figured out the basics and even created an new project, but this has me baffled. One of our installers uses SQLServerSelectLogin…
Ben_G
  • 770
  • 2
  • 8
  • 30