Aug 14, 2017
02:54 PM
We have custom pre-requisites in our project. (See attached image.) When I build, I get errors that it cant find the .prq files. How do I tell it where those are?
... View more
Labels
- Labels:
-
InstallShield 2015
Jun 10, 2015
07:36 AM
Thanks! My team mate found the web.config to be checked as read only. Woops!
... View more
Jun 09, 2015
12:37 PM
So, I have two releases. Lets call them version 1 and version 2. If I point InstallShield at Version 1's folder, build, and test the MSI, all is good. If I point InstallShield at Version 2's folder, build, and test the MSI, it gets just beyond the IIS portion and then goes in to Rollback Mode. Version 2 files the same, though a few of the files' contents have changed (some different .cs contents and a few .DLLs have changed), but I wouldnt think that would cause a rollback. I even tried the old .DLLs just to make sure that wasn't the issue. Here is the installation log: http://cpnd.us/ratboy/ROLLBACK.txt Any help would be appreciated.
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Jun 09, 2015
12:20 PM
Dan, not sure on how to tell that. But as a failsafe, I put Everyone And Users in the permissions both with and without the %USERDOMAIN. But none of the permissions are added. Very strange. DLee65 wrote: Do you know if the components that set permissions are using the newer InstallShield method or the standard MSI Lock Permissions table? If the standard Lock Permission table then Everyone should work for you but not 'Users' as it is not considered one of the 'well known' SIDs. https://msdn.microsoft.com/en-us/library/aa369774%28v=vs.85%29.aspx I forget when InstallShield implemented support for other SID. The only other thing that I can think of is permissions when running your install. Make sure you run the installer so that it has administrative rights this should grant permissions to change permissions on a child folder of Program Files(x86).
... View more
May 21, 2015
10:46 AM
Also, it appears as though INSTALLDIR is being configured to Read Only by default. I can't seem to find how to un-check this property. Where is this setting at the folder level?
... View more
May 21, 2015
10:39 AM
So I am trying to set the opermissions of INSTALLDIR on the target machine for Everyone and Users to be full control. (I know its not good practice, but our app needs this to work unfortunately.) So here is the screen shot from InstallShield: Yet, on the target system, Everyone is not even added at all. And for Users, it looks like this: Anyone have any ideas how to resolve this?
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
May 19, 2015
08:27 AM
Here is what I have in the XML Editor: It is obviously adding the row for DOUBLE_INSTALLDIR which is now the one without double slashes and no trailing. But where the other row with the trailing slashes is coming from is boggling my mind.
... View more
May 19, 2015
08:18 AM
Replied. ROFL...
... View more
May 19, 2015
07:59 AM
Well.. Now I am closer than ever before. Now it is kind of working, however, my config file ends up with two rows: Thank you for all the help though. I am now almost there. I guess in the XML Editor I can add a remove line to remove the bad one? Not sure why I should have to do that though.
... View more
May 19, 2015
07:50 AM
rrinblue22 wrote: Appears to be a problem with the custom action sequence. 1: Run the InstallScript Custom action and result is DOUBLE_INSTALLDIR property is loaded with INSTALLDIR value without trailing slash. 2: Run your custom action which does "\\" to "\" on DOUBLE_INSTALLDIR property Yea, that is what I am doing:
... View more
May 19, 2015
07:34 AM
Well, that didnt work either. I keep getting the attached error when running the .MSI. It is referencing my custom action which has this code: Session.Property("DOUBLE_INSTALLDIR") = Replace( Session.Property("DOUBLE_INSTALLDIR"), "\", "\\" ) But that did work when the replace statement was replacing just INSTALLDIR. LOL...
... View more
May 19, 2015
07:13 AM
Thanks. I will try it. Do I need another new property though to store the final value in? Or do I change this: Session.Property("DOUBLE_INSTALLDIR") = Replace( Session.Property("INSTALLDIRNOTRAIL"), "\", "\\" ) To this: Session.Property("DOUBLE_INSTALLDIR") = Replace( Session.Property("DOUBLE_INSTALLDIR"), "\", "\\" )
... View more
May 18, 2015
01:09 PM
So if I use this code: [CODE]function set_prop() STRING tmpINSTALLDIR; STRING svInstalldir[256]; NUMBER nBuffer; begin tmpINSTALLDIR = INSTALLDIR; nBuffer = 256; StrRemoveLastSlash(tmpINSTALLDIR); MsiSetProperty(ISMSI_HANDLE,'INSTALLDIR',tmpINSTALLDIR); end[/CODE] I have a few noob questions: 1) Do I just create a custom action and put this in? 2) If I remove the trailing back slash, are there ramifications elsewhere in the project that I need to account for? 3) How come when I add this InstallScript to my other scripts, it is not select-able when donig a new custom action based on install script? It doesn't appear in the drop down menu there. Man this should not be this hard just to remove a back slash. Right now, I have a custom action doing this: Session.Property("DOUBLE_INSTALLDIR") = Replace( Session.Property("INSTALLDIR"), "\", "\\" ) That is to make DOUBLE_INSTALLDIR have the value of INSTALLDIR with double slashes and it is working. But putting the trailing \\ on the end, which my config files do not have.
... View more
May 15, 2015
01:11 PM
DLee65. I did something very close to this and now I am very close to having this fixed. The problem now is, it is writing the path with a trailing \\ because INSTALLDIR has a trailing \ But in the config file I am editing, there is no trailing \ Not sure if there is a way to tell it to not put the trailing \\. I have read this which has two different codes to remove the trailing backslash from InstallDir but I am not fluent enough in InstallShield to know how to implement this. https://flexeracommunity.force.com/customer/articles/en_US/HOWTO/Q106587
... View more
May 15, 2015
08:52 AM
I am having the same issue with trying to edit an XML .config file. The file, by default, has a file path with double slashes. If I set it to INSTALLDIR in the red outlined box, it just puts the install path with single slashes instead of double. Can anyone advize a way around this?
... View more
Latest posts by RatBoyGL
Subject | Views | Posted |
---|---|---|
1250 | Aug 14, 2017 02:54 PM | |
879 | Jun 10, 2015 07:36 AM | |
1679 | Jun 09, 2015 12:37 PM | |
2300 | Jun 09, 2015 12:20 PM | |
2300 | May 21, 2015 10:46 AM | |
4686 | May 21, 2015 10:39 AM | |
2946 | May 19, 2015 08:27 AM | |
4741 | May 19, 2015 08:18 AM | |
4741 | May 19, 2015 07:59 AM | |
4741 | May 19, 2015 07:50 AM |
Activity Feed
- Posted Edit Prerequsites on InstallShield Forum. Aug 14, 2017 02:54 PM
- Posted Re: Can anyone tell me why this installer is "Rolling Back" right after doing the IIS? on InstallShield Forum. Jun 10, 2015 07:36 AM
- Posted Can anyone tell me why this installer is "Rolling Back" right after doing the IIS? on InstallShield Forum. Jun 09, 2015 12:37 PM
- Posted Re: Folder Permissions Not Being Set by MSI on Target Machine on InstallShield Forum. Jun 09, 2015 12:20 PM
- Posted Re: Folder Permissions Not Being Set by MSI on Target Machine on InstallShield Forum. May 21, 2015 10:46 AM
- Posted Folder Permissions Not Being Set by MSI on Target Machine on InstallShield Forum. May 21, 2015 10:39 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 08:27 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 08:18 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 07:59 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 07:50 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 07:34 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 07:13 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 18, 2015 01:09 PM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 15, 2015 01:11 PM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 15, 2015 08:52 AM
- Posted Re: Best Registry Settings - Installing Multiple Times - Registry Entries Staying on InstallShield Forum. May 15, 2015 07:56 AM
- Posted Re: Register a DLL with .NET Framework? on InstallShield Forum. May 15, 2015 07:49 AM
- Posted Register a DLL with .NET Framework? on InstallShield Forum. Apr 21, 2015 08:06 PM
- Posted One subfolder in [INSTALLDIR] being left behind if uninstalling after installing 2x on InstallShield Forum. Apr 15, 2015 05:25 PM
- Posted Best Registry Settings - Installing Multiple Times - Registry Entries Staying on InstallShield Forum. Apr 15, 2015 11:59 AM