|
It won't compile because "public Populate()" is not valid without a return type.
If it's a CTOR, then it's named wrong. If it's a method, it needs a return type.
If it's not broken, fix it until it is
|
|
|
|
|
Hmm. VS2008 would issue a warning for hiding the _otherClass member variable. If you're using something later, it could be they've eliminated the warning.
Oh no.
You are compiling with warnings set to maximum pedantry, aren't you?
Software Zen: delete this;
|
|
|
|
|
I'm compiling with warnings set to "Ring the Klaxons".
But yes - I assumed this would happen too. It was a nice head slapper.
cheers
Chris Maunder
|
|
|
|
|
Resharper catches this. It will underline your variable (_otherClass in Populate()) in blue, and if you hover it, it will show you that it hides the one from outer scope.
Best,
John
-- LogWizard Meet the Log Viewer that makes monitoring log files a joy!
|
|
|
|
|
Chris Maunder wrote: public void Process()
{
if (_otherClass.HasNoData)
TotallyFreakOut();
}
public void Process()
{
if (_otherClass.HasNoData)
TotallyFreakingWatchForLocalVariablesDeclWithUnderscores();
}
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
That's the whole point: I didn't realise I was declaring a local var with an underscore.
It never ceases to amaze me at what we don't see[^].
cheers
Chris Maunder
|
|
|
|
|
I totally missed the Putin thing on the Video.
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
Is there anybody out there who made the same experience like me?
The longer I'm working with InstallShield, the more I'm keen on drugs
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Try to work more on DrugShield and process more installations.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Thanks for your Suggestion. I think I will try for wix ...
... and the meaning of "wix" in German (more in Swiss German) I'm not allowed to explain it here. Even for Soapbox it is not appropriate
modified 19-Jan-21 21:04pm.
|
|
|
|
|
I'm in InstallShield every f'in day.
Now if you'll excuse me, I have to go pick up my stash.
|
|
|
|
|
Only one hint please before I give myself the golden shot...
There was a time i could do something like this for compents:
[INSTALLDIR]..\Share
or
[TARGETDIR]..\Share
I know it something dirty but it worked. Since IS2008 this seems not to be possible.
Do you have a hint how to refer "Company Folder"?
Thank you in advance
modified 19-Jan-21 21:04pm.
|
|
|
|
|
To keep things simple, I never use property values in paths. Someone will probably have to come in after my work on on the next version of the package to work on it.
But, it is possible to do, you just need a custom action to resolve the name. It's a little tricky to setup, but here[^] is a good explanation of how to do it.
|
|
|
|
|
Thank you very much for this.
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Don't use InstallS***. I use Wix. Much better.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."
-- Marcus Brigstocke, British Comedian
|
|
|
|
|
Quote: I use Wix. Much better.
Agreed! And it's free!
How do we preserve the wisdom men will need,
when their violent passions are spent?
- The Lost Horizon
|
|
|
|
|
Man, I wish I could use it. Sadly, I don't make the rules where I work.
|
|
|
|
|
I've had happiness with Advanced Installer. IS wants so much $$ it's absurd.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
The InstallShield team is #3 on my list of developers to be put against the wall when the revolution comes. The #1 spot, for over ten years running, is held by the Microsoft Driver Development group, and the #2 spot is held by those responsible for Lotus Notes.
I'm sure at least three other people have said it, so I'll say it too: use Inno Setup[^]. Windows Installer molests Collies.
Software Zen: delete this;
|
|
|
|
|
Why isn't Lotus #1? Is the DDK that bad, or is it something else? It's been a while since I've done any driver related stuff, and there is a project looming up ahead that requires a PCI driver.
|
|
|
|
|
The DDK itself isn't that bad. The part I hate is writing an installer for a driver. The DDK documents three ways to install a driver, and only the fourth one works. I spent weeks getting my first driver install to work. The second one took weeks as well, since the method used for the first one wouldn't work.
The pain in dealing with the DDK, the Windows Driver Model, plus the necessity of signing drivers, is one of the reasons we switched to external hardware instead of our own board. It's somewhat more expensive ($20K as opposed to $8K-$10K), but it's vastly simpler.
Software Zen: delete this;
|
|
|
|
|
IS is one of the worst installers ever. I had one project where I had to use it, and felt like killing myself every day.
I was even happier using NSIS
Best,
John
-- LogWizard Meet the Log Viewer that makes monitoring log files a joy!
|
|
|
|
|
I'm starting to get seriously pissed off because it seems I have to clean install Windows 10 now for the third time this day. The reason: Everything works flawless, except for installing Visual Studio 2015. The setup seems to mess up the OS, it requires a restart, and after I reboot .NET 4.6 is gone (feature disabled, what?) and Add/Remove Windows features is broken. Unfortunately, .NET 4.6 is part of the OS so you cannot use the standalone redist to reinstall it, and enabling the feature back on doesn't work because it's hidden/not visible anymore. The real bad thing is: I cannot execute any .NET code, and the Event Viewer is not working anymore. DISM/SFC doesn't help, either.
So much for the first major Windows 10 update, well done. How do I get Visual Studio 2015 to work on it?
|
|
|
|
|
Really I see no reason to upgrade to 10 at all. What's to gain? It's full of bugs, spyware, absolutely stupid design ideas, the list goes on.
It's just a dumbed down version of 8.1 which personally I find pretty good (well once I've installed the start menu only from Classic Shell).
Would 8.1 not work for you?
.-.
|o,o|
,| _\=/_ .-""-.
||/_/_\_\ /[] _ _\
|_/|(_)|\\ _|_o_LII|_
\._. |\_/|"` |_| ==== |_|
|_|_| ||" || ||
|-|-| ||LI o ||
|_|_| ||'----'||
/_/ \_\ /__| |__\
|
|
|
|
|
LloydA111 wrote: It's full of bugs, spyware, absolutely stupid design ideas, the list goes on. Many people have had zero problems with it, myself included. I like it.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|