$PROGRAMFILES$ not assigned a value
$PROGRAMFILES$ not assigned a value
Hi All,
For some reason the var $PROGRAMFILES$ is not getting translated when the setup has been complied and run. I have made no customization to the MSICode as I am new to the product but on then Destination screen I'm seeing $PROGRAMFILES$\\My Product's name as a default location for the end user. Any help is appreciated.
Also the remaing Diskspace on the same screen reads -56,381,505 bytes whats with this?
Ron Wyman
For some reason the var $PROGRAMFILES$ is not getting translated when the setup has been complied and run. I have made no customization to the MSICode as I am new to the product but on then Destination screen I'm seeing $PROGRAMFILES$\\My Product's name as a default location for the end user. Any help is appreciated.
Also the remaing Diskspace on the same screen reads -56,381,505 bytes whats with this?
Ron Wyman
Thanks for the help Rick but I bit the bullet and start the project over. I didn’t want to worry about this in the future.
Thanks again and I hope I can return the help in the future.
P.S. I think IA needs a few more maintenance release as there a few issues like this I came across. More QA testing!
Thanks again and I hope I can return the help in the future.
P.S. I think IA needs a few more maintenance release as there a few issues like this I came across. More QA testing!
-
norbertjurkiewicz
- Posts: 16
- Joined: Thu Aug 02, 2012 11:07 am
Re: $PROGRAMFILES$ not assigned a value
I am having the exact issue, $PROGRAMFILES$ is no getting assigned a value.
My MSI code looks like this.
The runtime result is
Build:
IA2012 Moooya.9.26.11
I should also mention, the initial script was generated using the project wizard and I didn't modify any of the MSI directly. Doing a search in the MISCode doesn't show the $PROGRAMFILES$ being assigned anywhere.
My MSI code looks like this.
Code: Select all
Set Variable TARGETDIR to $PROGRAMFILES$\$COMPANY$\$TITLE$
IA2012 Moooya.9.26.11
I should also mention, the initial script was generated using the project wizard and I didn't modify any of the MSI directly. Doing a search in the MISCode doesn't show the $PROGRAMFILES$ being assigned anywhere.
-
norbertjurkiewicz
- Posts: 16
- Joined: Thu Aug 02, 2012 11:07 am
Re: $PROGRAMFILES$ not assigned a value
I was able to use this as a workaround
However, I'd like to understand why the otherway isn't working if it comes up with other variables.
Code: Select all
Get Folder Location System->Program Files Directory into PGFILES
Set Variable TARGETDIR to $PGFILES$\$COMPANY$\$TITLE$
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: $PROGRAMFILES$ not assigned a value
Dear User,
What happens if you create a new project from scratch?
Anyway, I haven't found this issue.
Regards
What happens if you create a new project from scratch?
Anyway, I haven't found this issue.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
norbertjurkiewicz
- Posts: 16
- Joined: Thu Aug 02, 2012 11:07 am
Re: $PROGRAMFILES$ not assigned a value
This was created from scrach using the wizard. I don't relaly want to start another one and go through all the cusomizations beacuse I almost have it where I need it. It looks like I'm having issues with the "Get Folder Location" variables that should be predefined but are not. http://www.installaware.com/forum/viewt ... f=2&t=8744
Thank you.
Thank you.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: $PROGRAMFILES$ not assigned a value
Dear User,
I have just tried to replicate your issue using th wizard ... but works fine.
Probably exist something else that causes your issue ... I really do not know.
Regards
I have just tried to replicate your issue using th wizard ... but works fine.
Probably exist something else that causes your issue ... I really do not know.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: $PROGRAMFILES$ not assigned a value
Just a thought,
Did you make sure that you use $PROGRAMFILES$ after it was initialized?
If you opened the dialog before you initialized the parameter, you'll get $PROGRAMFILES$ instead of the actual path to Program Files.
Regards,
T.
Did you make sure that you use $PROGRAMFILES$ after it was initialized?
If you opened the dialog before you initialized the parameter, you'll get $PROGRAMFILES$ instead of the actual path to Program Files.
Regards,
T.

