Page 1 of 1

Cache setup source

Posted: Wed Feb 15, 2017 4:28 am
by SITL
Dear Francisco,

Thanks for all the support, Great !

I have few Questions.
1. How do specify the directory for caching setup sources ?
We want to keep it in a specified directory, say C:\XYZInstallerCache
2. How to detect the path of Excel.exe ?
Means how to find where excel is installed ?

3. In the Maintenance dialog, We want to Select appropriate Radio button.
( Modify, Remove & Repair)
For example, If the product is installed, we want to select Remove button by default.

Appreciate your help.
Regards
SITL

Re: Cache setup source

Posted: Thu Feb 16, 2017 9:52 am
by FrancescoT
Dear SITL,

1- you may use the OVERRIDECACHE pre-defined script variable for that.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10651&p=40781&hilit=OVERRIDECACHE#p40560

2- you should post this question on a Microsoft forum or to have a look at the Excel documentation. I suppose the Excel installer defines some Registry Key on the target machine to keep track of the installed application. However, I am not an Excel expert.

3- please have look at the following link.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10863&hilit=Radio

Hope this helps you.

Regards

Re: Cache setup source

Posted: Mon Feb 20, 2017 12:34 pm
by mikKummerfeld
HI SITL,

I already have a Excel find script - I search and post it

Heiko

Re: Cache setup source

Posted: Tue Feb 21, 2017 5:51 am
by SITL
Dear Francisco,

Thanks for your help.

Regarding my second question, Excel, I'm using Read Registry key and getting the path, Fine no issues here.
But there is some permission issue, Actually I want to copy a file there :wink: I'm not able to do so.
We have some template.xla file to be copied to the path where MS Excel is installed.

I will try this :)
Very happy for your support.
Regards
SITL

Re: Cache setup source

Posted: Thu Feb 23, 2017 2:14 am
by SITL
Dear Francesco,

Thanks for your help.
In Design\User Interface\EULA and Readme we have an option to load the license agreement text from .rtf or .txt file.
I have saved my license agreement from .rtf file, but the problem is some lines were in BOLD, All the bold words are shown as regular text.

How do we display bold characters in licesnse agreement?

Regards
SITL

Re: Cache setup source

Posted: Thu Feb 23, 2017 11:25 am
by FrancescoT
Dear SITl,

honestly I don't see that problem...I just imported a RTF document into an IA project.
eula.png
eula.png (41.48 KiB) Viewed 8716 times


Regards

Re: Cache setup source

Posted: Fri Feb 24, 2017 4:38 am
by SITL
thanks,
I cleared EULA and again loaded from .rtf
it works.

Regards
SITL

Re: Cache setup source

Posted: Tue Feb 28, 2017 4:18 am
by SITL
SITL wrote:Dear Francisco,

Thanks for your help.

Regarding my second question, Excel, I'm using Read Registry key and getting the path, Fine no issues here.
But there is some permission issue, Actually I want to copy a file there :wink: I'm not able to do so.
We have some template.xla file to be copied to the path where MS Excel is installed.

I will try this :)
Very happy for your support.
Regards
SITL

Dear Francesco,
I'm NOT able to copy a file to the path where MS Excel is installed.
I have to copy one template file there. Is this allowed ?
Do you have any idea ?
Please share your thoughts.
Thanks.
SITL

Re: Cache setup source

Posted: Tue Feb 28, 2017 11:53 am
by FrancescoT
Dear SITL,

you may use the "Set Access Control" to change your target folder permissions.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10724

Hope this helps you.

Regards

Re: Cache setup source

Posted: Tue Mar 07, 2017 6:54 am
by SITL
Dear Francesco,

Thanks for your help.
Hey...I'm surprised to see that Read registry key command returns TRUE or FALSE.
~InstallAware Clipboard Data~
~Read Registry~
~{7BA5D7C2-AFEE-40A8-AED0-F00B29B108B4}~
~INSTALLED_EXCEL|~
~2~
~SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\excel.exe~
~Path~

Is there a way to get the installed path ?

Regards
SITL

Re: Cache setup source

Posted: Tue Mar 07, 2017 11:21 am
by FrancescoT
Dear SITL,

I don't have an Excell installation that can be used to test your "Read Registry" call.

However, I just used the following one to get the path of Acrobat Reader v.10 ... and this returns the Path value as expected.

Code: Select all

~InstallAware Clipboard Data~
~Read Registry~
~{506527A3-FCF5-437A-AAB9-F7F8130246EF}~
~ACRO_PATH|~
~2~
~SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe~
~Path~
~Set Variable~
~{BE4A979B-FC94-45F8-9CD8-E27DE1EFA869}~
~ACRO_PATH$MYAH$MYAH$FALSE~
~~


NOTE!
By default on a X64 OS, the above code will return the value stored under the "Wow6432Node" of the HKLM\SOFTWARE root.
https://www.installaware.com/forums/viewtopic.php?f=2&t=10339

!!!IMPORTANT!!!
Please start new topics where appropriate, rather than adding new questions to a thread originally started for a different discussion.
Thanks!


Regards

Re: Cache setup source

Posted: Wed Mar 08, 2017 12:47 am
by SITL
Sorry, I understand !
- SITL